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