BmBluetoothAdapterState.fromMap constructor

BmBluetoothAdapterState.fromMap(
  1. Map json
)

Implementation

factory BmBluetoothAdapterState.fromMap(Map<dynamic, dynamic> json) {
  return BmBluetoothAdapterState(
    adapterState: BmAdapterStateEnum.values[json['adapter_state']],
  );
}