existsSync
bool
existsSync(
Check whether a path exists (file or directory).
Implementation
bool existsSync(String filePath) {
final result = _fs.callMethod('existsSync'.toJS, filePath.toJS);
if (result == null) return false;
return (result as JSBoolean).toDart;
}