MethodAppendStrategy class
Appends or replaces methods inside a class declaration.
- Implemented types
Constructors
- MethodAppendStrategy({AstHelper helper = const AstHelper()})
-
const
Properties
Methods
-
apply(
AppendRequest request) → AppendResult -
Applies the append operation, replacing existing methods when needed.
override
-
canHandle(
AppendRequest request) → bool -
Returns true when the request targets a class method append.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
undo(
AppendRequest request) → AppendResult -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited