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