toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (checkerType != null) 'checkerType': checkerType!,
      if (contentMatchers != null) 'contentMatchers': contentMatchers!,
      if (displayName != null) 'displayName': displayName!,
      if (httpCheck != null) 'httpCheck': httpCheck!,
      if (internalCheckers != null) 'internalCheckers': internalCheckers!,
      if (isInternal != null) 'isInternal': isInternal!,
      if (monitoredResource != null) 'monitoredResource': monitoredResource!,
      if (name != null) 'name': name!,
      if (period != null) 'period': period!,
      if (resourceGroup != null) 'resourceGroup': resourceGroup!,
      if (selectedRegions != null) 'selectedRegions': selectedRegions!,
      if (syntheticMonitor != null) 'syntheticMonitor': syntheticMonitor!,
      if (tcpCheck != null) 'tcpCheck': tcpCheck!,
      if (timeout != null) 'timeout': timeout!,
      if (userLabels != null) 'userLabels': userLabels!,
    };