ThingTypeDefinition.fromJson constructor
ThingTypeDefinition.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ThingTypeDefinition.fromJson(Map<String, dynamic> json) {
return ThingTypeDefinition(
thingTypeArn: json['thingTypeArn'] 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,
);
}