CompileDirectiveMetadata constructor
CompileDirectiveMetadata({
- required CompileTypeMetadata type,
- CompileTypeMetadata? originType,
- required CompileDirectiveMetadataType metadataType,
- String? selector,
- String? exportAs,
- ChangeDetectionStrategy? changeDetection,
- Map<
String, String> inputs = const {}, - Map<
String, CompileTypeMetadata> inputTypes = const {}, - Map<
String, String> outputs = const {}, - Map<
String, AST> hostBindings = const {}, - Map<
String, String> hostListeners = const {}, - AnalyzedClass? analyzedClass,
- CompileTemplateMetadata? template,
- Visibility visibility = Visibility.all,
- List<
LifecycleHooks> lifecycleHooks = const [], - List<
CompileProviderMetadata> providers = const [], - List<
CompileProviderMetadata> viewProviders = const [], - List<
CompileIdentifierMetadata> exports = const [], - List<
CompileQueryMetadata> queries = const [], - List<
CompileQueryMetadata> viewQueries = const [], - 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,
});