NetworkQuality enum
Network quality
This enum defines the network quality levels.
Response Scenarios
| Quality | Value | Description |
|---|---|---|
unknown |
0 | Unknown network |
excellent |
1 | Excellent |
good |
2 | Good |
poor |
3 | Poor |
bad |
4 | Bad |
veryBad |
5 | Very bad |
down |
6 | Disconnected |
Values
- unknown → const NetworkQuality
-
Unknown network.
const NetworkQuality(0) - excellent → const NetworkQuality
-
Excellent.
const NetworkQuality(1) - good → const NetworkQuality
-
Good.
const NetworkQuality(2) - poor → const NetworkQuality
-
Poor.
const NetworkQuality(3) - bad → const NetworkQuality
-
Bad.
const NetworkQuality(4) - veryBad → const NetworkQuality
-
Very bad.
const NetworkQuality(5) - down → const NetworkQuality
-
Disconnected.
const NetworkQuality(6)
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
- value → int
-
final
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<
NetworkQuality> - A constant List of the values in this enum, in order of their declaration.