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((value) => value as core.String)
                .toList()
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
      );