VFileUtils class abstract

Constructors

VFileUtils()

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

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

Static Methods

compressImage({required VPlatformFile fileSource, int compressAt = 1500 * 1000, int quality = 50}) Future<VPlatformFile>
getImageInfo({required VPlatformFile fileSource}) Future<ImageInfo>
getVideoDurationMill(VPlatformFile file) Future<int?>
getVideoThumb({required VPlatformFile fileSource, int maxWidth = 600, int quality = 50}) Future<VMessageImageData?>
saveFileToPublicPath({required VPlatformFile fileAttachment, required String appName}) Future<String>
make sure you ask for storage permissions