CompileDirectiveMetadata.from constructor

CompileDirectiveMetadata.from(
  1. CompileDirectiveMetadata other, {
  2. AnalyzedClass? analyzedClass,
  3. CompileTemplateMetadata? template,
})

Implementation

CompileDirectiveMetadata.from(CompileDirectiveMetadata other,
    {AnalyzedClass? analyzedClass, CompileTemplateMetadata? template})
    : type = other.type,
      originType = other.originType,
      metadataType = other.metadataType,
      selector = other.selector,
      exportAs = other.exportAs,
      changeDetection = other.changeDetection,
      inputs = other.inputs,
      inputTypes = other.inputTypes,
      outputs = other.outputs,
      hostBindings = other.hostBindings,
      hostListeners = other.hostListeners,
      analyzedClass = analyzedClass ?? other.analyzedClass,
      template = template ?? other.template,
      visibility = other.visibility,
      lifecycleHooks = other.lifecycleHooks,
      providers = other.providers,
      viewProviders = other.viewProviders,
      exports = other.exports,
      queries = other.queries,
      viewQueries = other.viewQueries,
      isChangeDetectionLink = other.isChangeDetectionLink;