DescribeThingTypeResponse.fromJson constructor
DescribeThingTypeResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeThingTypeResponse.fromJson(Map<String, dynamic> json) {
return DescribeThingTypeResponse(
thingTypeArn: json['thingTypeArn'] as String?,
thingTypeId: json['thingTypeId'] as String?,
thingTypeMetadata: json['thingTypeMetadata'] != null
? ThingTypeMetadata.fromJson(
json['thingTypeMetadata'] as Map<String, dynamic>)
: null,
thingTypeName: json['thingTypeName'] as String?,
thingTypeProperties: json['thingTypeProperties'] != null
? ThingTypeProperties.fromJson(
json['thingTypeProperties'] as Map<String, dynamic>)
: null,
);
}