CompileQueryMetadata class

Provides metadata for Query, ViewQuery, ViewChildren, ContentChild and ContentChildren decorators.

Constructors

CompileQueryMetadata({List<CompileTokenMetadata>? selectors, bool descendants = false, bool first = false, String? propertyName, bool isElementType = false, CompileTokenMetadata? read})
const

Properties

descendants → bool
Whether nested elements should be queried.
final
first → bool
Set when querying for first instance that matches selectors.
final
hashCode → int
The hash code for this object.
no setterinherited
isElementType → bool
Whether this is typed dart:html's Element (or a sub-type).
final
propertyName → String?
Name of class member on the component to update with query result.
final
read → CompileTokenMetadata?
Optional type to read for given match.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectors → List<CompileTokenMetadata>?
List of types or tokens to match.
final

Methods

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