NetworkType enum
An enumeration of various network types that can be used as WorkConstraints.
Constructors
- NetworkType()
-
const
Values
- connected → const NetworkType
-
Any working network connection is required for this work.
- metered → const NetworkType
-
A metered network connection is required for this work.
- notRequired → const NetworkType
-
A network is not required for this work.
- notRoaming → const NetworkType
-
A non-roaming network connection is required for this work.
- unmetered → const NetworkType
-
An unmetered network connection is required for this work.
Properties
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<
NetworkType> - A constant List of the values in this enum, in order of their declaration.