FileWillDeleteEvent class

An event that is fired when files are going to be deleted.

To make modifications to the workspace before the files are deleted, call the {@link FileWillCreateEvent.waitUntilwaitUntil}-function with a thenable that resolves to a {@link WorkspaceEditworkspace edit}.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

FileWillDeleteEvent({CancellationToken? token, List<Uri>? files})
factory

Properties

files List<Uri>

Available on FileWillDeleteEvent, provided by the FileWillDeleteEvent$Typings extension

The files that are going to be deleted.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token CancellationToken

Available on FileWillDeleteEvent, provided by the FileWillDeleteEvent$Typings extension

A cancellation token.
no setter
waitUntil → ({void Function(Future thenable) $1, void Function(Future thenable) $2})

Available on FileWillDeleteEvent, provided by the FileWillDeleteEvent$Typings extension

Overload accessor: $1, $2
no setter

Methods

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

Operators

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