DealServingMetadataDealPauseStatus.fromJson constructor

DealServingMetadataDealPauseStatus.fromJson(
  1. Map _json
)

Implementation

DealServingMetadataDealPauseStatus.fromJson(core.Map _json) {
  if (_json.containsKey("buyerPauseReason")) {
    buyerPauseReason = _json["buyerPauseReason"];
  }
  if (_json.containsKey("firstPausedBy")) {
    firstPausedBy = _json["firstPausedBy"];
  }
  if (_json.containsKey("hasBuyerPaused")) {
    hasBuyerPaused = _json["hasBuyerPaused"];
  }
  if (_json.containsKey("hasSellerPaused")) {
    hasSellerPaused = _json["hasSellerPaused"];
  }
  if (_json.containsKey("sellerPauseReason")) {
    sellerPauseReason = _json["sellerPauseReason"];
  }
}