Connectivity class

Constructors

Connectivity()
Constructs a singleton instance of Connectivity.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isConnected → ValueStream<bool>
Fires whenever the connection state changes.
no setter
onConnectivityChanged → ValueStream<ConnectivityStatus>
Fires whenever the connectivity state changes.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkConnection() Future<bool>
Checks the REAL connection status of the device.
checkConnectivity() Future<ConnectivityStatus>
Checks the connection status of the device.
dispose() → void
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