MediaAssetFormatVariant class Null safety

Media on the CMS is rescaled to different variants. Look up variants using these enums in the formats map of the asset. Not all formats are guaranteed to exist.

Inheritance

Properties

hashCode int
The hash code for this object.
read-onlyinherited
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 Properties

values BuiltSet<MediaAssetFormatVariant>
read-only

Static Methods

valueOf(String name) MediaAssetFormatVariant

Constants

large → const MediaAssetFormatVariant
_$large
medium → const MediaAssetFormatVariant
_$medium
small → const MediaAssetFormatVariant
_$small
thumbnail → const MediaAssetFormatVariant
_$thumbnail