ConnectivityProvider class

A provider class for checking device connectivity.

Properties

connection Stream<bool>
no setter
hashCode int
The hash code for this object.
no setterinherited
isBluetooth Future<bool>
Checks if the device is connected to a Bluetooth network.
no setter
isConnected Future<bool>
Checks if the device is connected to any network.
no setter
isEthernet Future<bool>
Checks if the device is connected to an Ethernet network.
no setter
isMobile Future<bool>
Checks if the device is connected to a mobile network.
no setter
isNone Future<bool>
Checks if the device has no network connectivity.
no setter
isVPN Future<bool>
Checks if the device is connected to a VPN.
no setter
isWifi Future<bool>
Checks if the device is connected to a Wi-Fi network.
no setter
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

I ConnectivityProvider
Singleton instance of ConnectivityProvider.
no setter