MediaModel class

A captured image returned by the package's capture workflow.

Constructors

MediaModel.blob(File file, String filePath, Uint8List blobImage)
Creates a model containing its file, path, and encoded bytes.

Properties

blobImage ↔ Uint8List
Encoded image bytes for convenient use by the caller.
getter/setter pair
file ↔ File
Image file containing the captured photo.
getter/setter pair
filePath ↔ String
Optional path metadata associated with the image.
getter/setter pair
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