CompileDirectiveMetadata constructor

CompileDirectiveMetadata({
  1. required CompileTypeMetadata type,
  2. CompileTypeMetadata? originType,
  3. required CompileDirectiveMetadataType metadataType,
  4. String? selector,
  5. String? exportAs,
  6. ChangeDetectionStrategy? changeDetection,
  7. Map<String, String> inputs = const {},
  8. Map<String, CompileTypeMetadata> inputTypes = const {},
  9. Map<String, String> outputs = const {},
  10. Map<String, AST> hostBindings = const {},
  11. Map<String, String> hostListeners = const {},
  12. AnalyzedClass? analyzedClass,
  13. CompileTemplateMetadata? template,
  14. Visibility visibility = Visibility.all,
  15. List<LifecycleHooks> lifecycleHooks = const [],
  16. List<CompileProviderMetadata> providers = const [],
  17. List<CompileProviderMetadata> viewProviders = const [],
  18. List<CompileIdentifierMetadata> exports = const [],
  19. List<CompileQueryMetadata> queries = const [],
  20. List<CompileQueryMetadata> viewQueries = const [],
  21. bool isChangeDetectionLink = false,
})

Implementation

CompileDirectiveMetadata({
  required this.type,
  this.originType,
  required this.metadataType,
  this.selector,
  this.exportAs,
  this.changeDetection,
  this.inputs = const {},
  this.inputTypes = const {},
  this.outputs = const {},
  this.hostBindings = const {},
  this.hostListeners = const {},
  this.analyzedClass,
  this.template,
  this.visibility = Visibility.all,
  this.lifecycleHooks = const [],
  this.providers = const [],
  this.viewProviders = const [],
  this.exports = const [],
  this.queries = const [],
  this.viewQueries = const [],
  this.isChangeDetectionLink = false,
});