fromInt static method
Creates BluetoothBondState from integer value
Implementation
static BluetoothBondState fromInt(int? value) {
switch (value) {
case 11:
return BluetoothBondState.bonding;
case 12:
return BluetoothBondState.bonded;
default:
return BluetoothBondState.none;
}
}