ImageAsset class final
Asset was configured in Storyblok as only pointing to an image file
Constructors
- ImageAsset.fromJson(JSONMap json)
Properties
- alt → String
-
Alt text for the asset
finalinherited
- copyright → String
-
Copyright text for the asset
finalinherited
- fileName → String
-
Full path of the asset, including the file name
finalinherited
- focus → String
-
The focus point of the image (Only for image assets)
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageUrl → Uri
-
URL of an image file
final
- metadata → JSONMap?
-
Includes custom metadata fields for an asset along with the default ones.
It also contains the translations of the same if added in the format metafield__i18n__langcode .
This field should be used for updating the metadata including the default ones. (alt, title, source, copyright)
finalinherited
- name → String
-
File name for the asset
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Title of the asset
finalinherited
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