DealPauseStatus.fromJson constructor

DealPauseStatus.fromJson(
  1. Map _json
)

Implementation

DealPauseStatus.fromJson(core.Map _json)
    : this(
        buyerPauseReason: _json.containsKey('buyerPauseReason')
            ? _json['buyerPauseReason'] as core.String
            : null,
        firstPausedBy: _json.containsKey('firstPausedBy')
            ? _json['firstPausedBy'] as core.String
            : null,
        hasBuyerPaused: _json.containsKey('hasBuyerPaused')
            ? _json['hasBuyerPaused'] as core.bool
            : null,
        hasSellerPaused: _json.containsKey('hasSellerPaused')
            ? _json['hasSellerPaused'] as core.bool
            : null,
        sellerPauseReason: _json.containsKey('sellerPauseReason')
            ? _json['sellerPauseReason'] as core.String
            : null,
      );