Typed<T> class
Declares a typed directive or defines type argument of type T
.
Example uses include:
- Single concrete type argument:
Typed<Foo<String>>()
.
- Multiple, nested concrete type arguments:
Typed<Bar<String, List<int>>>()
.
- Generic type parameter type argument:
Typed<Baz>.of([#T])
- Mixed, nested type arguments:
Typed<Qux>.of([String, Typed<List>.of([#T])
See documentation of each constructor for more details.
- Annotations
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- on → String
-
An optional reference for targeting specific instances within a template. [...]
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
typeArguments
→ List<
Object> -
The generic type arguments of
T
, if not fully specified byT
itself. [...]final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited