deleteFile method

void deleteFile(
  1. Uri uri, [
  2. IInline21? options,
  3. WorkspaceEditEntryMetadata? metadata
])

Delete a file or folder.

@param uri The uri of the file that is to be deleted. @param metadata Optional metadata for the entry.

Implementation

void deleteFile(
  _i3.Uri uri, [
  _i3.IInline21? options,
  _i3.WorkspaceEditEntryMetadata? metadata,
]) {
  _i5.callMethod(
    this,
    'deleteFile',
    [
      uri,
      options ?? _i6.undefined,
      metadata ?? _i6.undefined,
    ],
  );
}