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