ConnectionNotifierTools class
A class that provides useful tools for connection management. To be used properly, initialize method must be called before using it's data.
- Annotations
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
- isConnected → bool
-
A boolean that has the latest update about the connection status.
no setter
-
onStatusChange
→ Stream<
bool> -
A broadcast stream that emits on every change in the connection status.
no setter
Static Methods
-
initialize(
) → Future< void> -
Initializes the
ConnectionNotifierManager
. Must be called before using other class data, typically on app initialization.