ThingAttribute.fromJson constructor
Implementation
factory ThingAttribute.fromJson(Map<String, dynamic> json) {
return ThingAttribute(
attributes: (json['attributes'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
thingArn: json['thingArn'] as String?,
thingName: json['thingName'] as String?,
thingTypeName: json['thingTypeName'] as String?,
version: json['version'] as int?,
);
}