Extension class abstract

Implemented types
Annotations
  • @immutable

Constructors

Extension([void updates(ExtensionBuilder b)])
factory

Properties

annotations → BuiltList<Expression>
Annotations as metadata on the node.
no setter
docs → BuiltList<String>
Dart docs.
no setter
fields → BuiltList<Field>
no setter
hashCode int
The hash code for this object.
no setterinherited
methods → BuiltList<Method>
no setter
name String?
Name of the extension - optional.
no setter
on Reference?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types → BuiltList<Reference>
Generic type parameters.
no setter

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(ExtensionBuilder)) Extension
Rebuilds the instance.
inherited
toBuilder() ExtensionBuilder
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