BluetoothState class

Constructors

BluetoothState.fromString(String string)
const
BluetoothState.fromUnderlyingValue(int value)
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
isEnabled bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringValue String
final
underlyingValue int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override
toUnderlyingValue() int

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Constants

ERROR → const BluetoothState
const BluetoothState.fromUnderlyingValue(-1)
STATE_BLE_ON → const BluetoothState
const BluetoothState.fromUnderlyingValue(15)
STATE_BLE_TURNING_OFF → const BluetoothState
const BluetoothState.fromUnderlyingValue(16)
STATE_BLE_TURNING_ON → const BluetoothState
const BluetoothState.fromUnderlyingValue(14)
STATE_OFF → const BluetoothState
const BluetoothState.fromUnderlyingValue(10)
STATE_ON → const BluetoothState
const BluetoothState.fromUnderlyingValue(12)
STATE_TURNING_OFF → const BluetoothState
const BluetoothState.fromUnderlyingValue(13)
STATE_TURNING_ON → const BluetoothState
const BluetoothState.fromUnderlyingValue(11)
UNKNOWN → const BluetoothState
const BluetoothState.fromUnderlyingValue(-2)