Extension class Null safety
- Implemented types
- Annotations
Constructors
- Extension([void updates(ExtensionBuilder b)])
-
factory
Properties
-
annotations
→ BuiltList<
Expression> -
Annotations as metadata on the node.
read-only
-
docs
→ BuiltList<
String> -
Dart docs.
read-only
-
fields
→ BuiltList<
Field> -
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
methods
→ BuiltList<
Method> -
read-only
- name → String?
-
Name of the extension - optional.
read-only
- on → Reference?
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
types
→ BuiltList<
Reference> -
Generic type parameters.
read-only
Methods
-
accept<
R> (SpecVisitor< R> visitor, [R? context]) → R -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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