FileWillCreateEvent class
An event that is fired when files are going to be created.
To make modifications to the workspace before the files are created, call the {@linkcode FileWillCreateEvent.waitUntilwaitUntil}-function with a thenable that resolves to a {@link WorkspaceEditworkspace edit}.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
FileWillCreateEvent({CancellationToken? token, List<
Uri> ? files}) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited