ListGroupsResponse.fromJson constructor
Implementation
factory ListGroupsResponse.fromJson(Map<String, dynamic> json) {
return ListGroupsResponse(
groups: (json['Groups'] as List?)
?.whereNotNull()
.map((e) => GroupType.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}