Device.fromJson constructor
Implementation
factory Device.fromJson(Map<String, dynamic> json) {
return Device(
certificateArn: json['CertificateArn'] as String,
id: json['Id'] as String,
thingArn: json['ThingArn'] as String,
syncShadow: json['SyncShadow'] as bool?,
);
}