CustomBluetoothDevice.fromJson constructor

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

Implementation

factory CustomBluetoothDevice.fromJson(Map<String, dynamic> json) {
  return CustomBluetoothDevice(
    name: json['name'],
    identifier: json['identifier'],
    bondState: json['bondState'],
  );
}