GetDeviceResponse.fromJson constructor

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

Implementation

factory GetDeviceResponse.fromJson(Map<String, dynamic> json) {
  return GetDeviceResponse(
    device: DeviceType.fromJson(json['Device'] as Map<String, dynamic>),
  );
}