CreateOTAUpdateResponse.fromJson constructor
Implementation
factory CreateOTAUpdateResponse.fromJson(Map<String, dynamic> json) {
return CreateOTAUpdateResponse(
awsIotJobArn: json['awsIotJobArn'] as String?,
awsIotJobId: json['awsIotJobId'] as String?,
otaUpdateArn: json['otaUpdateArn'] as String?,
otaUpdateId: json['otaUpdateId'] as String?,
otaUpdateStatus:
(json['otaUpdateStatus'] as String?)?.toOTAUpdateStatus(),
);
}