toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (blockingRuleId != null) 'blockingRuleId': blockingRuleId!,
      if (blockingTriggerId != null) 'blockingTriggerId': blockingTriggerId!,
      if (containerId != null) 'containerId': containerId!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (firingRuleId != null) 'firingRuleId': firingRuleId!,
      if (firingTriggerId != null) 'firingTriggerId': firingTriggerId!,
      if (liveOnly != null) 'liveOnly': liveOnly!,
      if (name != null) 'name': name!,
      if (notes != null) 'notes': notes!,
      if (parameter != null) 'parameter': parameter!,
      if (parentFolderId != null) 'parentFolderId': parentFolderId!,
      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 (teardownTag != null) 'teardownTag': teardownTag!,
      if (type != null) 'type': type!,
    };