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,
      );