UpdateDeviceInstanceResult.fromJson constructor

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

Implementation

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