toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (disableMonitoring != null) 'disableMonitoring': disableMonitoring!,
      if (etag != null) 'etag': etag!,
      if (labels != null) 'labels': labels!,
      if (monitoringStatsAnomalies != null)
        'monitoringStatsAnomalies': monitoringStatsAnomalies!,
      if (name != null) 'name': name!,
      if (pointOfContact != null) 'pointOfContact': pointOfContact!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (valueType != null) 'valueType': valueType!,
      if (versionColumnName != null) 'versionColumnName': versionColumnName!,
    };