BluetoothDeviceModel.fromJson constructor

BluetoothDeviceModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

BluetoothDeviceModel.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
}