MethodAppendStrategy class

Appends or replaces methods inside a class declaration.

Implemented types

Constructors

MethodAppendStrategy({AstHelper helper = const AstHelper()})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
helper → AstHelper
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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