ListGroupMembersResponse.fromJson constructor

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

Implementation

factory ListGroupMembersResponse.fromJson(Map<String, dynamic> json) {
  return ListGroupMembersResponse(
    members: (json['Members'] as List?)
        ?.whereNotNull()
        .map((e) => Member.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}