InternetStatus enum

These are possible the internet status.

Inheritance
Available extensions

Values

disconnected → const InternetStatus

If the internet is not connected. This represents that wifi and mobile data is off.

checking → const InternetStatus

If the internet is checking. This represents that wifi or mobile data is on and internet is getting checked.

connected → const InternetStatus

If the internet is connected. This represents that wifi or mobile data is on and internet connection is confirmed that it is working.

unavailable → const InternetStatus

If the internet is unavailable. This represents that wifi or mobile data is on and internet connection is not working. either due to slow internet or not enough data.

available → const InternetStatus

If the internet is available. This represents that wifi or mobile data is on and internet connection is actively available currently.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
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

Constants

values → const List<InternetStatus>
A constant List of the values in this enum, in order of their declaration.