BluetoothState.fromMap constructor

BluetoothState.fromMap(
  1. dynamic map
)

Implementation

factory BluetoothState.fromMap(dynamic map) {
  return BluetoothState(
    isEnabled: map['isEnabled'],
    status: map['status'],
  );
}