NetworkType enum Null safety

Network type.

Constants

Disconnected → const NetworkType

The SDK disconnects from the network.

@JsonValue(0)
const NetworkType(1)
LAN → const NetworkType

The network type is LAN.

@JsonValue(1)
const NetworkType(2)
Mobile2G → const NetworkType

The network type is mobile 2G.

@JsonValue(3)
const NetworkType(4)
Mobile3G → const NetworkType

The network type is mobile 3G.

@JsonValue(4)
const NetworkType(5)
Mobile4G → const NetworkType

The network type is mobile 4G.

@JsonValue(5)
const NetworkType(6)
Unknown → const NetworkType

The network type is unknown.

@JsonValue(-1)
const NetworkType(0)
values → const List<NetworkType>

A constant List of the values in this enum, in order of their declaration.

const List<NetworkType>
WIFI → const NetworkType

The network type is Wi-Fi (including hotspots).

@JsonValue(2)
const NetworkType(3)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited