toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aggregateBy != null) 'aggregateBy': aggregateBy!,
      if (bucketByActivitySegment != null)
        'bucketByActivitySegment': bucketByActivitySegment!,
      if (bucketByActivityType != null)
        'bucketByActivityType': bucketByActivityType!,
      if (bucketBySession != null) 'bucketBySession': bucketBySession!,
      if (bucketByTime != null) 'bucketByTime': bucketByTime!,
      if (endTimeMillis != null) 'endTimeMillis': endTimeMillis!,
      if (filteredDataQualityStandard != null)
        'filteredDataQualityStandard': filteredDataQualityStandard!,
      if (startTimeMillis != null) 'startTimeMillis': startTimeMillis!,
    };