toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final description = this.description;
final displayName = this.displayName;
final labels = this.labels;
final launchStage = this.launchStage;
final metadata = this.metadata;
final metricKind = this.metricKind;
final monitoredResourceTypes = this.monitoredResourceTypes;
final name = this.name;
final type = this.type;
final unit = this.unit;
final valueType = this.valueType;
return {
'description': ?description,
'displayName': ?displayName,
'labels': ?labels,
'launchStage': ?launchStage,
'metadata': ?metadata,
'metricKind': ?metricKind,
'monitoredResourceTypes': ?monitoredResourceTypes,
'name': ?name,
'type': ?type,
'unit': ?unit,
'valueType': ?valueType,
};
}