JasprConnectivityMonitor class Setup

Monitors the browsers connectivity. Should be attached to the generated Serverpod client.

Constructors

JasprConnectivityMonitor()

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

addListener(ConnectivityMonitorListener listener) → void
Adds a listener to the connectivity monitor.
inherited
dispose() → void
Removes all listeners from the connectivity monitor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners(bool connected) → void
Notifies listeners of changes in connectivity. This method should only be called by classes that inherits from ConnectivityMonitor.
inherited
removeListener(ConnectivityMonitorListener listener) → void
Removes a listener from the connectivity monitor.
inherited
toString() String
A string representation of this object.
inherited

Operators

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