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