toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buyerPauseReason != null) 'buyerPauseReason': buyerPauseReason!,
      if (firstPausedBy != null) 'firstPausedBy': firstPausedBy!,
      if (hasBuyerPaused != null) 'hasBuyerPaused': hasBuyerPaused!,
      if (hasSellerPaused != null) 'hasSellerPaused': hasSellerPaused!,
      if (sellerPauseReason != null) 'sellerPauseReason': sellerPauseReason!,
    };