ImageType class
Image type. Represents type name and extension.
- Annotations
-
- @immutable
Constructors
- ImageType.getByType(String type)
-
Returns ImageType by corresponding
type
string.factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns human-readable type name.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- gif → const ImageType
-
Graphics Interchange Format image type.
ImageType._('GIF', 'gif')
- jpeg → const ImageType
-
Joint Photographic Experts Group image type.
ImageType._('JPEG', 'jpg')
- png → const ImageType
-
Portable Network Graphics image type.
ImageType._('PNG', 'png')
- unknown → const ImageType
-
Unknown image type.
ImageType._unknown('')