ImageOperations mixin

Mixin Applications

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

compressImage(File file, {int? quality = 50, int? rotate = 0}) Future<File?>
This function is used to get compress image
generateImage() → void
todo pending this function is used to generate random image for testing ui without adding images in asset folder
getImageReslution(File file) Future<FileData>
This tell user about image resolution
getMultiPartImage(File file) Future<MultipartFile>?
This function is used for convert image file to Multipart to uplaod using Dio
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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