NetworkTypes class Enum
Defines the network connection types.
Constructors
- NetworkTypes(int value, {String? name})
-
const
- NetworkTypes.from(int value)
-
factory
Properties
Methods
-
hasFlag(
NetworkTypes flag) → bool - Determines whether one or more bit fields are set in the current enum value.
-
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 &(
NetworkTypes other) → NetworkTypes -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
NetworkTypes other) → NetworkTypes
Constants
- internet → const NetworkTypes
- none → const NetworkTypes
- privateNetwork → const NetworkTypes
-
values
→ const List<
NetworkTypes>