GetDeviceResult.fromJson constructor
Implementation
factory GetDeviceResult.fromJson(Map<String, dynamic> json) {
return GetDeviceResult(
device: json['device'] != null
? Device.fromJson(json['device'] as Map<String, dynamic>)
: null,
);
}