BluetoothState enum Null safety

蓝牙适配器的状态

Inheritance

Constructors

BluetoothState()
const

Values

unknown → const BluetoothState
BluetoothState()
unavailable → const BluetoothState
BluetoothState()
unauthorized → const BluetoothState
BluetoothState()
turningOn → const BluetoothState
BluetoothState()
on → const BluetoothState
BluetoothState()
turningOff → const BluetoothState
BluetoothState()
off → const BluetoothState
BluetoothState()

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<BluetoothState>
A constant List of the values in this enum, in order of their declaration.
[unknown, unavailable, unauthorized, turningOn, on, turningOff, off]