TypeDef class abstract

Implemented types
Annotations
  • @immutable

Constructors

TypeDef([void updates(TypeDefBuilder)?])
factory

Properties

annotations → BuiltList<Expression>
Annotations as metadata on the node.
no setterinherited
definition Expression
The right hand side of the typedef.
no setter
docs → BuiltList<String>
Dart docs.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
Name of the typedef.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types → BuiltList<Reference>
Generic type parameters.
no setterinherited

Methods

accept<R>(SpecVisitor<R> visitor, [R? context]) → R
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(TypeDefBuilder)) TypeDef
Rebuilds the instance.
inherited
toBuilder() TypeDefBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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