toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dimensions != null) 'dimensions': dimensions!,
      if (endTimestamp != null) 'endTimestamp': endTimestamp!,
      if (metrics != null) 'metrics': metrics!,
      if (outputFormat != null) 'outputFormat': outputFormat!,
      if (startTimestamp != null) 'startTimestamp': startTimestamp!,
      if (timeUnit != null) 'timeUnit': timeUnit!,
    };