Core.fromJson constructor

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

Implementation

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