PauseProposalDealsRequest.fromJson constructor

PauseProposalDealsRequest.fromJson(
  1. Map _json
)

Implementation

PauseProposalDealsRequest.fromJson(core.Map _json)
    : this(
        externalDealIds: _json.containsKey('externalDealIds')
            ? (_json['externalDealIds'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        reason: _json.containsKey('reason')
            ? _json['reason'] as core.String
            : null,
      );