ImageScreenObjectFormat enum

Supported image formats for ImageScreenObject.

Each enum value maps to a corresponding MIME type that can be used in a data: URI scheme.

Inheritance

Constructors

ImageScreenObjectFormat(String mime)
const

Values

png → const ImageScreenObjectFormat

PNG image format (image/png).

const ImageScreenObjectFormat('image/png')
jpeg → const ImageScreenObjectFormat

JPEG image format (image/jpeg).

const ImageScreenObjectFormat('image/jpeg')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
mime String
The MIME type string associated with this image format.
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

Static Methods

fromString(String mime) ImageScreenObjectFormat?
Returns the corresponding ImageScreenObjectFormat for the given MIME type.

Constants

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