ListProposalVotesOutput.fromJson constructor
Implementation
factory ListProposalVotesOutput.fromJson(Map<String, dynamic> json) {
return ListProposalVotesOutput(
nextToken: json['NextToken'] as String?,
proposalVotes: (json['ProposalVotes'] as List?)
?.whereNotNull()
.map((e) => VoteSummary.fromJson(e as Map<String, dynamic>))
.toList(),
);
}