NetworkMonitorPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- NetworkMonitorPlatform
- Implementers
Constructors
- NetworkMonitorPlatform()
- Constructs a NetworkMonitorPlatform.
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
-
isOnline(
) → Future< bool?> - this method will return internet status if has internet it retun true otherwise false
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onNetworkChange(
) → Future< Stream< NetworkStatus> ?> - return Stream of typeNetworkStatus it will contain details stram listen networkchanges
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ NetworkMonitorPlatform
-
The default instance of NetworkMonitorPlatform to use.
getter/setter pair