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