ListMembersResponse.fromJson constructor

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

Implementation

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