QueryOnlineManager class final

Mutable connectivity signal wired by an application or platform adapter.

Constructors

QueryOnlineManager({bool online = true})
Creates a connectivity manager with its initial state.

Properties

hashCode → int
The hash code for this object.
no setterinherited
isOnline ↔ bool
Whether the application currently has network connectivity.
getter/setter pair
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
subscribe(void listener(bool focused)) → QueryDispose
Subscribes to connectivity changes.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited