MoveFileRefactoringOptions class

Move the given file or folder and update all of the references to and from it. The move operation is supported in general case - for renaming an item in the same folder, moving it to a different folder or both. Moving or renaming large folders may take time and clients should consider showing an indicator to the user with the ability to cancel the request (which can be done using server.cancelRequest).

The refactoring must be activated before an actual file moving operation is performed.

The "offset" and "length" fields from the request are ignored, but the file specified in the request specifies the file to be moved.

Inheritance

Constructors

MoveFileRefactoringOptions({String? newFile})

Properties

hashCode int
The hash code for this object.
no setterinherited
newFile String?
The new file path to which the given file is being moved.
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