fileExists static method

FileSystemError fileExists([
  1. Object? messageOrUri
])

Create an error to signal that a file or folder already exists, e.g. when creating but not overwriting a file.

Implementation

static _i3.FileSystemError fileExists([_i2.Object? messageOrUri]) =>
    _i5.callMethod(
      _declaredFileSystemError,
      'FileExists',
      [messageOrUri ?? _i6.undefined],
    );