ProposalActions.fromJson constructor
Implementation
factory ProposalActions.fromJson(Map<String, dynamic> json) {
return ProposalActions(
invitations: (json['Invitations'] as List?)
?.whereNotNull()
.map((e) => InviteAction.fromJson(e as Map<String, dynamic>))
.toList(),
removals: (json['Removals'] as List?)
?.whereNotNull()
.map((e) => RemoveAction.fromJson(e as Map<String, dynamic>))
.toList(),
);
}