AmityFileRepository class

AmityFileRepository for all file related operation

Constructors

AmityFileRepository()

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

cancelUpload(String uploadId) → void
funtion to upload the video type
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadAudio(File file, {String? uploadId}) Future<AmityUploadResult<AmityAudio>>
funtion to upload the audio type
uploadFile(File file, {String? uploadId}) StreamController<AmityUploadResult<AmityFile>>
funtion to upload the file type
uploadImage(File file, {String? uploadId, bool isFullImage = false}) StreamController<AmityUploadResult<AmityImage>>
funtion to upload the image type
uploadVideo(File file, {String? uploadId, AmityContentFeedType? feedtype}) StreamController<AmityUploadResult<AmityVideo>>
funtion to upload the video type

Operators

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