InlineMethodRefactoringOptions class

Inline a method in place of one or all references to that method.

It is an error if the range contains anything other than all or part of the name of a single method.

Inheritance

Constructors

InlineMethodRefactoringOptions({bool? deleteSource, bool? inlineAll})

Properties

deleteSource bool?
True if the method being inlined should be removed. It is an error if this field is true and inlineAll is false.
final
hashCode int
The hash code for this object.
no setterinherited
inlineAll bool?
True if all invocations of the method should be inlined, or false if only the invocation site used to create this refactoring should be inlined.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map
override
toString() String
A string representation of this object.
inherited

Operators

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