NetworkType enum
网络类型
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
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.