NetworkController class
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
-
checkConnection()
→ Future<bool>
-
Checks if the device has an internet connection.
-
initNetworkController()
→ void
-
Listen to the network connectivity changes and update the connection status
accordingly. It shows a toast message to the user about the connection type
(e.g. wifi, mobile, ethernet, vpn).
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited