MediaUploadService class abstract

Constructors

MediaUploadService.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
mediaUrl String
no setter
releaseFiles List<File>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearMedia() → void
deleteFileFromUrl(String fileUrl) Future<void>
getMediaFile() File
getMediaId() String
getReleaseFilePath() String
handleImage({AppFileFrom appFileFrom = AppFileFrom.gallery, MediaUploadDestination uploadDestination = MediaUploadDestination.post, File? imageFile, double ratioX = 1, double ratioY = 1, bool crop = true, BuildContext? context}) Future<void>
handleMedia(File file) Future<void>
handleVideo({AppFileFrom appFileFrom = AppFileFrom.gallery, File? videoFile}) Future<void>
mediaFileExists() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pickMedia({MediaType type = MediaType.media}) Future<File>
pickMultipleMedia({MediaType type = MediaType.media}) Future<File>
setMediaFile(File file) → void
setProcessedVideo(File videoFile) Future<void>
toString() String
A string representation of this object.
inherited
uploadFile(MediaUploadDestination uploadDestination) Future<String?>
uploadThumbnail() Future<String>

Operators

operator ==(Object other) bool
The equality operator.
inherited