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 (mimeType != null) 'mimeType': mimeType!,
      if (startTimestamp != null) 'startTimestamp': startTimestamp!,
      if (timeUnit != null) 'timeUnit': timeUnit!,
    };