toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (bucketName != null) 'bucketName': bucketName!,
if (bucketOptions != null) 'bucketOptions': bucketOptions!,
if (createTime != null) 'createTime': createTime!,
if (description != null) 'description': description!,
if (disabled != null) 'disabled': disabled!,
if (filter != null) 'filter': filter!,
if (labelExtractors != null) 'labelExtractors': labelExtractors!,
if (metricDescriptor != null) 'metricDescriptor': metricDescriptor!,
if (name != null) 'name': name!,
if (resourceName != null) 'resourceName': resourceName!,
if (updateTime != null) 'updateTime': updateTime!,
if (valueExtractor != null) 'valueExtractor': valueExtractor!,
if (version != null) 'version': version!,
};