Asset class base
Storyblok Asset field
- Implementers
Constructors
- Asset.fromJson(JSONMap json)
Properties
- alt → String
-
Alt text for the asset
final
- copyright → String
-
Copyright text for the asset
final
- fileName → String
-
Full path of the asset, including the file name
final
- focus → String
-
The focus point of the image (Only for image assets)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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)
final
- name → String
-
File name for the asset
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Title of the asset
final
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