CompileDirectiveMetadata class

Metadata regarding compilation of a directive.

Implemented types

Constructors

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})
CompileDirectiveMetadata.from(CompileDirectiveMetadata other, {AnalyzedClass? analyzedClass, CompileTemplateMetadata? template})

Properties

analyzedClass AnalyzedClass?
final
changeDetection → ChangeDetectionStrategy?
final
exportAs String?
final
exports List<CompileIdentifierMetadata>
final
hashCode int
The hash code for this object.
no setterinherited
hostAttributes Map<String, AST>
The subset of hostBindings that are immutable bindings.
no setter
hostBindings Map<String, AST>
final
hostListeners Map<String, String>
final
hostProperties Map<String, AST>
no setter
identifier CompileIdentifierMetadata?
no setteroverride
inputs Map<String, String>
final
inputTypes Map<String, CompileTypeMetadata>
final
Whether this is an OnPush component that also works in a Default app.
final
isComponent bool
no setter
isOnPush bool
no setter
lifecycleHooks List<LifecycleHooks>
final
metadataType CompileDirectiveMetadataType
final
originType CompileTypeMetadata?
User-land class where the component annotation originated.
final
outputs Map<String, String>
final
providers List<CompileProviderMetadata>
final
queries List<CompileQueryMetadata>
final
requiresDirectiveChangeDetector bool
Whether the directive requires a change detector class to be generated.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selector String?
final
template CompileTemplateMetadata?
final
type CompileTypeMetadata
final
viewProviders List<CompileProviderMetadata>
final
viewQueries List<CompileQueryMetadata>
final
visibility → Visibility
Restricts where the directive is injectable.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toPrettyString() String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited