ListInvitationsOutput.fromJson constructor

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

Implementation

factory ListInvitationsOutput.fromJson(Map<String, dynamic> json) {
  return ListInvitationsOutput(
    invitations: (json['Invitations'] as List?)
        ?.whereNotNull()
        .map((e) => Invitation.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}