ImageFormat enum

Represents the image file format. It is used to decide how the image should be compressed.

Inheritance

Constructors

ImageFormat()
const

Values

jpg → const ImageFormat

Compress the image using JPG, which is usually faster.

png → const ImageFormat

Compress the image using PNG, which is lossless but slower.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<ImageFormat>
A constant List of the values in this enum, in order of their declaration.