ImageData class final
An image as stored in the file (PNG, JPEG, …).
Constructors
Properties
- bytes → Uint8List
-
The encoded image.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
levels
→ List<
RgbaImage> ? -
Decoded RGBA levels, largest first, made when the model was cooked —
null for an image still to be decoded. The upload uses them as they
are, without decoding or building mips.
final
- levelsSrgb → bool
-
Whether levels were averaged in sRGB (a colour map's) rather than
linearly (a data map's).
final
- mimeType → String?
-
image/png,image/jpeg, … or null when the file did not say.final - name → String?
-
Name or URI, for messages.
final
- 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