fromJson static method

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

from json map

Implementation

static fromJson(Map<String, dynamic> json) {
  return BluetoothDevice(
      deviceId: json["device_id"], deviceName: json["device_name"]);
}