ImageFormat class final

An output format. Handle future formats with a default switch branch.

Properties

hashCode → int
The hash code for this object.
no setterinherited
mimeType → String
The media type of the encoded bytes.
final
name → String
The stable format identifier.
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

Constants

jpeg → const ImageFormat
JPEG output.
png → const ImageFormat
PNG output.
webp → const ImageFormat
WebP output.