ConnectivityChecker class
Connectivity checker class
Constructors
- ConnectivityChecker({Duration? interval})
- Initialize an connectivity checker object
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- interval → Duration?
-
The time to wait between each internet connectivity verification
The default interval is set to 5 seconds
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
bool> -
Connectivity stream
no setter
Methods
-
dispose(
) → void - Dispose the streamController to free up resources
-
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