toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (accountId != null) 'accountId': accountId!,
  if (blockingTriggerId != null) 'blockingTriggerId': blockingTriggerId!,
  if (consentSettings != null) 'consentSettings': consentSettings!,
  if (containerId != null) 'containerId': containerId!,
  if (fingerprint != null) 'fingerprint': fingerprint!,
  if (firingTriggerId != null) 'firingTriggerId': firingTriggerId!,
  if (liveOnly != null) 'liveOnly': liveOnly!,
  if (monitoringMetadata != null) 'monitoringMetadata': monitoringMetadata!,
  if (monitoringMetadataTagNameKey != null)
    'monitoringMetadataTagNameKey': monitoringMetadataTagNameKey!,
  if (name != null) 'name': name!,
  if (notes != null) 'notes': notes!,
  if (parameter != null) 'parameter': parameter!,
  if (parentFolderId != null) 'parentFolderId': parentFolderId!,
  if (path != null) 'path': path!,
  if (paused != null) 'paused': paused!,
  if (priority != null) 'priority': priority!,
  if (scheduleEndMs != null) 'scheduleEndMs': scheduleEndMs!,
  if (scheduleStartMs != null) 'scheduleStartMs': scheduleStartMs!,
  if (setupTag != null) 'setupTag': setupTag!,
  if (tagFiringOption != null) 'tagFiringOption': tagFiringOption!,
  if (tagId != null) 'tagId': tagId!,
  if (tagManagerUrl != null) 'tagManagerUrl': tagManagerUrl!,
  if (teardownTag != null) 'teardownTag': teardownTag!,
  if (type != null) 'type': type!,
  if (workspaceId != null) 'workspaceId': workspaceId!,
};