ListGroupMembershipsResponse.fromJson constructor

ListGroupMembershipsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListGroupMembershipsResponse.fromJson(Map<String, dynamic> json) {
  return ListGroupMembershipsResponse(
    groupMemberList: (json['GroupMemberList'] as List?)
        ?.whereNotNull()
        .map((e) => GroupMember.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
    requestId: json['RequestId'] as String?,
  );
}