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

copyWith → $FileXCopyWith<FileX>
no setterinherited
fileXType FileXType?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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