NetWorkUtils class

Constructors

NetWorkUtils()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

connectivitySubscription ↔ StreamSubscription<List<ConnectivityResult>>
getter/setter pair
netType ↔ String
getter/setter pair

Static Methods

cancel() → dynamic
getConnectType() → Future<String>
获取联网类型
isConnected() → Future<bool>
判断网络是否连接