NetworkType enum

网络类型

Inheritance

Constructors

NetworkType()
const

Values

unknown → const NetworkType

未知网络链接类型

disconnected → const NetworkType

网络连接已断开

lan → const NetworkType

LAN

wifi → const NetworkType

Wi-Fi,包含热点连接

mobile2G → const NetworkType

2G 移动网络

mobile3G → const NetworkType

3G 移动网络

mobile4G → const NetworkType

4G 移动网络

mobile5G → const NetworkType

5G 移动网络

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<NetworkType>
A constant List of the values in this enum, in order of their declaration.
[unknown, disconnected, lan, wifi, mobile2G, mobile3G, mobile4G, mobile5G]