exists<T extends FileSystemEntity> static method
Throws an exception if the fse
does not exist (using Require.require)
since 0.7.0
Implementation
static Future<T> exists<T extends FileSystemEntity>(T fse) async {
Require.require(
await fse.exists(),
'File not found: ${fse.path}',
);
return fse;
}