DehydratedDevice.fromJson constructor

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

Implementation

DehydratedDevice.fromJson(Map<String, dynamic> json)
    : deviceId = json['device_id'] as String,
      deviceData = (json['device_data'] as Map<String, dynamic>?)?.copy();