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.
const
factory
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

assetList List<Asset>?
no setterinherited
copyWith → $IncludesCopyWith<Includes>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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