NetworkTypes class Enum

Defines the network connection types.

Inheritance

Constructors

NetworkTypes(int value, {String? name})
const
NetworkTypes.from(int value)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
finalinherited

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>