DVNetworkStatus enum

What the device can reach.

metered is separate from offline because they call for different behaviour: a sync may proceed on a metered connection and a video prefetch should not. unknown is separate from online because assuming online is how the first write on a train is attempted, fails, and is reported as an error rather than queued.

Inheritance
Available extensions

Values

unknown → const DVNetworkStatus
online → const DVNetworkStatus
metered → const DVNetworkStatus
offline → const DVNetworkStatus

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<DVNetworkStatus>
A constant List of the values in this enum, in order of their declaration.