Device.fromJson constructor

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

Implementation

Device.fromJson(Map<String, dynamic> json)
    : deviceId = json["deviceId"],
      deviceName = json["deviceName"];