BrowserImageCompressionPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • BrowserImageCompressionPlatform
Implementers

Constructors

BrowserImageCompressionPlatform()
Constructs a BrowserImageCompressionPlatform.

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

getPlatformVersion() Future<String?>
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 Properties

instance BrowserImageCompressionPlatform
The default instance of BrowserImageCompressionPlatform to use.
getter/setter pair

Static Methods

compressImage(String filename, Uint8List data, String mineType, Options opts) Future<Uint8List>
compressImageByXFile(XFile xfile, Options opts) Future<Uint8List>