toJson method
Implementation
Map<String, dynamic> toJson() {
final excludedTimeRanges = this.excludedTimeRanges;
final metricTimezone = this.metricTimezone;
return {
if (excludedTimeRanges != null) 'ExcludedTimeRanges': excludedTimeRanges,
if (metricTimezone != null) 'MetricTimezone': metricTimezone,
};
}