FileSystem constructor
FileSystem({})
Implementation
factory FileSystem({
_i2.Future<_i2.dynamic> Function(_i3.Uri)? stat,
_i2.Future<_i2.dynamic> Function(_i3.Uri)? readDirectory,
_i2.Future<_i2.dynamic> Function(_i3.Uri)? createDirectory,
_i2.Future<_i2.dynamic> Function(_i3.Uri)? readFile,
_i2.Future<_i2.dynamic> Function(
_i3.Uri,
_i8.Uint8List,
)? writeFile,
_i2.Future<_i2.dynamic> Function(
_i3.Uri, [
_i2.dynamic,
])? delete,
_i2.Future<_i2.dynamic> Function(
_i3.Uri,
_i3.Uri, [
_i2.dynamic,
])? rename,
_i2.Future<_i2.dynamic> Function(
_i3.Uri,
_i3.Uri, [
_i2.dynamic,
])? copy,
_i2.bool? Function(_i2.String)? isWritableFileSystem,
}) =>
FileSystem._(
stat: stat == null ? null : _i5.allowInterop(stat),
readDirectory:
readDirectory == null ? null : _i5.allowInterop(readDirectory),
createDirectory:
createDirectory == null ? null : _i5.allowInterop(createDirectory),
readFile: readFile == null ? null : _i5.allowInterop(readFile),
writeFile: writeFile == null ? null : _i5.allowInterop(writeFile),
delete: delete == null ? null : _i5.allowInterop(delete),
rename: rename == null ? null : _i5.allowInterop(rename),
copy: copy == null ? null : _i5.allowInterop(copy),
isWritableFileSystem: isWritableFileSystem == null
? null
: _i5.allowInterop(
(p0) => () => isWritableFileSystem(p0) ?? _i6.undefined),
);