NetworkMonitoring class
No-op singleton matching the full NetworkMonitoring API.
Properties
- config → NetworkMonitoringConfig
-
final
- controller → NetworkMonitorController
-
final
- 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
- instance → NetworkMonitoring
-
The singleton instance. Call initialize first.
no setter
- isInitialized → bool
-
Whether the package has been initialized.
no setter
Static Methods
-
createInterceptor(
) → Interceptor - Returns a no-op Dio interceptor.
-
initialize(
{required NetworkMonitoringConfig config}) → NetworkMonitoring - Initializes the stub singleton (no monitoring side effects).