toJson method
Implementation
Map<String, dynamic> toJson() {
final invitations = this.invitations;
final removals = this.removals;
return {
if (invitations != null) 'Invitations': invitations,
if (removals != null) 'Removals': removals,
};
}