FileX class
- Implementers
- Available extensions
- Annotations
-
- @freezed
Constructors
- FileX.file({required File file, FileXType? fileXType})
-
factory
- FileX.netWork({required String url, FileXType? fileXType})
-
factory
- FileX.path({required String path, FileXType? fileXType})
-
factory
Properties
Methods
-
getOpenPath(
) → Future< String> -
map<
TResult extends Object?> ({required TResult netWork(NetWorkFileX value), required TResult file(LocalFileFileX value), required TResult path(LocalPathFileX value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? netWork(NetWorkFileX value)?, TResult? file(LocalFileFileX value)?, TResult? path(LocalPathFileX value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult netWork(NetWorkFileX value)?, TResult file(LocalFileFileX value)?, TResult path(LocalPathFileX value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult netWork(String url, FileXType? fileXType)?, TResult file(File file, FileXType? fileXType)?, TResult path(String path, FileXType? fileXType)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult netWork(String url, FileXType? fileXType), required TResult file(File file, FileXType? fileXType), required TResult path(String path, FileXType? fileXType)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? netWork(String url, FileXType? fileXType)?, TResult? file(File file, FileXType? fileXType)?, TResult? path(String path, FileXType? fileXType)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited