MethodChannelRealtimeNetwork class
MethodChannel-based implementation of RealtimeNetworkPlatform.
- Inheritance
-
- Object
- PlatformInterface
- RealtimeNetworkPlatform
- MethodChannelRealtimeNetwork
Constructors
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
-
listenConnectivity(
) → Stream< bool> -
Listen for real-time connectivity changes (online/offline).
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runTest(
) → Future< NetworkStats> -
Run a one-time speed test.
override
-
startListening(
{int intervalSeconds = 10}) → Stream< NetworkStats> -
Listen for real-time network speed updates.
override
-
stopConnectivityListening(
) → Future< void> -
Stop listening for connectivity changes.
override
-
stopListening(
) → Future< void> -
Stop listening for updates.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited