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