MatchedDirective class

A directive which has been matched to an element in the template.

An instance of this class represents the actual binding in the template, not just the properties declared by the underlying directive.

Implemented types

Constructors

MatchedDirective({required ProviderSource? providerSource, required List<Binding> inputs, required List<Binding> outputs, required Set<Lifecycle> lifecycles, required bool hasInputs, required bool hasHostProperties, required bool isComponent, required bool isOnPush})

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasHostProperties → bool
final
hasInputs → bool
Whether the underlying directive declares any inputs.
final
inputs → List<Binding>
final
isComponent → bool
final
isOnPush → bool
final
lifecycles → Set<Lifecycle>
final
outputs → List<Binding>
final
providerSource → ProviderSource?
Source of the directive in the compiled output.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

accept<R, C, CO extends C>(IRVisitor<R, C> visitor, [CO? context]) → R
override
hasLifecycle(Lifecycle lifecycle) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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