ListProposalsResponse.fromJson constructor
ListProposalsResponse.fromJson(
- Map _json
Implementation
ListProposalsResponse.fromJson(core.Map _json)
: this(
nextPageToken: _json.containsKey('nextPageToken')
? _json['nextPageToken'] as core.String
: null,
proposals: _json.containsKey('proposals')
? (_json['proposals'] as core.List)
.map<Proposal>((value) => Proposal.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);