ContentType class

Content type lets you define the structure or blueprint of a page or a section of your digital property. It is a form-like page that gives Content Managers an interface to input and upload content.

Constructors

ContentType([String _contentTypeUid, HttpClient _client])

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
urlPath String
read / write

Methods

entry({String entryUid}) Entry
This function provide option to get single entry as well as all the entries. entryUid is Optional, If entryUid Provided it fetches related entry of a respected content type Read more about single entry: https://www.contentstack.com/docs/developers/apis/content-delivery-api/#single-entry
fetch<T, K>([Map<String, dynamic> queryParams]) Future<T>
This call returns information of a specific content type. It returns the content type schema, but does not include its entries. queryParams query parameters
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
query() ContentTypeQuery
Query on ContentType This call returns comprehensive information of all the content types available in a particular stack in your account
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited