ListThingTypesResponse.fromJson constructor
Implementation
factory ListThingTypesResponse.fromJson(Map<String, dynamic> json) {
return ListThingTypesResponse(
nextToken: json['nextToken'] as String?,
thingTypes: (json['thingTypes'] as List?)
?.whereNotNull()
.map((e) => ThingTypeDefinition.fromJson(e as Map<String, dynamic>))
.toList(),
);
}