BmBluetoothDevice.fromMap constructor

BmBluetoothDevice.fromMap(
  1. Map json
)

Implementation

factory BmBluetoothDevice.fromMap(Map<dynamic, dynamic> json) {
  return BmBluetoothDevice(
    remoteId: DeviceIdentifier(json['remote_id']),
    platformName: json['platform_name'],
  );
}