toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (absoluteDateRange != null)
        'absoluteDateRange': absoluteDateRange!.toJson(),
      if (breakdownDimensions != null)
        'breakdownDimensions': breakdownDimensions!,
      if (creativeId != null) 'creativeId': creativeId!,
      if (dealId != null) 'dealId': dealId!,
      if (environment != null) 'environment': environment!,
      if (format != null) 'format': format!,
      if (formats != null) 'formats': formats!,
      if (name != null) 'name': name!,
      if (platforms != null) 'platforms': platforms!,
      if (publisherIdentifiers != null)
        'publisherIdentifiers': publisherIdentifiers!,
      if (realtimeTimeRange != null)
        'realtimeTimeRange': realtimeTimeRange!.toJson(),
      if (relativeDateRange != null)
        'relativeDateRange': relativeDateRange!.toJson(),
      if (sellerNetworkIds != null) 'sellerNetworkIds': sellerNetworkIds!,
      if (timeSeriesGranularity != null)
        'timeSeriesGranularity': timeSeriesGranularity!,
    };