FilesRepository class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
downloadFile({required FileModel fileModel, required FileActionTypeEnum type})
→ Future<Either<BaseException, SaverResultModel>>
-
-
downloadUrl({required FileDownloaderArgument argument, required FileActionTypeEnum type})
→ Future<Either<BaseException, SaverResultModel>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pickCamera({required FileTypeEnum type})
→ Future<Either<BaseException, List<FileModel>>>
-
-
pickDocument({List<String>? allowedExtensions, bool allowMultiple = true})
→ Future<Either<BaseException, List<FileModel>>>
-
-
pickGallary({required FileTypeEnum type, required int maxFiles})
→ Future<Either<BaseException, List<FileModel>>>
-
-
shareFile(FileModel fileModel)
→ Future<Either<BaseException, bool>>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
uploadFiles(List<FileModel> fileModels)
→ Future<Either<BaseException, List<FileModel>>>
-