DescribeDeviceResponse.fromJson constructor

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

Implementation

factory DescribeDeviceResponse.fromJson(Map<String, dynamic> json) {
  return DescribeDeviceResponse(
    deviceDescription: json['deviceDescription'] != null
        ? DeviceDescription.fromJson(
            json['deviceDescription'] as Map<String, dynamic>)
        : null,
  );
}