toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commitment != null) 'commitment': commitment!,
      if (creativeConfigs != null) 'creativeConfigs': creativeConfigs!,
      if (dealId != null) 'dealId': dealId!,
      if (deliveryMethod != null) 'deliveryMethod': deliveryMethod!,
      if (displayName != null) 'displayName': displayName!,
      if (exchange != null) 'exchange': exchange!,
      if (guaranteedOrderId != null) 'guaranteedOrderId': guaranteedOrderId!,
      if (inventorySourceId != null) 'inventorySourceId': inventorySourceId!,
      if (inventorySourceProductType != null)
        'inventorySourceProductType': inventorySourceProductType!,
      if (inventorySourceType != null)
        'inventorySourceType': inventorySourceType!,
      if (name != null) 'name': name!,
      if (publisherName != null) 'publisherName': publisherName!,
      if (rateDetails != null) 'rateDetails': rateDetails!,
      if (readAdvertiserIds != null) 'readAdvertiserIds': readAdvertiserIds!,
      if (readPartnerIds != null) 'readPartnerIds': readPartnerIds!,
      if (readWriteAccessors != null)
        'readWriteAccessors': readWriteAccessors!,
      if (status != null) 'status': status!,
      if (timeRange != null) 'timeRange': timeRange!,
      if (updateTime != null) 'updateTime': updateTime!,
    };