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