toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deal != null) 'deal': deal!,
      if (dealPausingInfo != null) 'dealPausingInfo': dealPausingInfo!,
      if (dealServingStatus != null) 'dealServingStatus': dealServingStatus!,
      if (name != null) 'name': name!,
      if (readyToServe != null) 'readyToServe': readyToServe!,
      if (rtbMetrics != null) 'rtbMetrics': rtbMetrics!,
    };