toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudLoggingDetails != null)
        'cloudLoggingDetails': cloudLoggingDetails!,
      if (createTime != null) 'createTime': createTime!,
      if (createdFromTemplate != null)
        'createdFromTemplate': createdFromTemplate!,
      if (databasePersistencePolicy != null)
        'databasePersistencePolicy': databasePersistencePolicy!,
      if (description != null) 'description': description!,
      if (enableVariableMasking != null)
        'enableVariableMasking': enableVariableMasking!,
      if (errorCatcherConfigs != null)
        'errorCatcherConfigs': errorCatcherConfigs!,
      if (integrationConfigParameters != null)
        'integrationConfigParameters': integrationConfigParameters!,
      if (integrationParameters != null)
        'integrationParameters': integrationParameters!,
      if (integrationParametersInternal != null)
        'integrationParametersInternal': integrationParametersInternal!,
      if (lastModifierEmail != null) 'lastModifierEmail': lastModifierEmail!,
      if (lockHolder != null) 'lockHolder': lockHolder!,
      if (name != null) 'name': name!,
      if (origin != null) 'origin': origin!,
      if (parentTemplateId != null) 'parentTemplateId': parentTemplateId!,
      if (runAsServiceAccount != null)
        'runAsServiceAccount': runAsServiceAccount!,
      if (snapshotNumber != null) 'snapshotNumber': snapshotNumber!,
      if (state != null) 'state': state!,
      if (status != null) 'status': status!,
      if (taskConfigs != null) 'taskConfigs': taskConfigs!,
      if (taskConfigsInternal != null)
        'taskConfigsInternal': taskConfigsInternal!,
      if (teardown != null) 'teardown': teardown!,
      if (triggerConfigs != null) 'triggerConfigs': triggerConfigs!,
      if (triggerConfigsInternal != null)
        'triggerConfigsInternal': triggerConfigsInternal!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (userLabel != null) 'userLabel': userLabel!,
    };