toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (containerId != null) 'containerId': containerId!,
      if (disablingTriggerId != null)
        'disablingTriggerId': disablingTriggerId!,
      if (enablingTriggerId != null) 'enablingTriggerId': enablingTriggerId!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (name != null) 'name': name!,
      if (notes != null) 'notes': notes!,
      if (parameter != null) 'parameter': parameter!,
      if (parentFolderId != null) 'parentFolderId': parentFolderId!,
      if (scheduleEndMs != null) 'scheduleEndMs': scheduleEndMs!,
      if (scheduleStartMs != null) 'scheduleStartMs': scheduleStartMs!,
      if (type != null) 'type': type!,
      if (variableId != null) 'variableId': variableId!,
    };