Includes class
Includes is where the assets and it's linked entries are stored. It's a part of the ContentfulDeliveryDataModel and is used to retrieve the assets and linked entries from the Entrys.
- Annotations
-
- @freezed
Constructors
-
Includes({@JsonKey(name: 'Asset') List<
Asset> ? assetList}) -
Includes is where the assets and it's linked entries are stored.
It's a part of the ContentfulDeliveryDataModel and is used to
retrieve the assets and linked entries from the Entrys.
constfactory
-
Includes.fromJson(Map<
String, dynamic> json) -
Includes.fromJson is used to convert the json that is received from the
Contentful API into a Includes object.
It also generated toJson methods that can be used to convert the
Includes object back into json.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited