includeContentType method

void includeContentType()

Include Content Type of all returned objects along with objects themselves. return, Query so you can chain this call.

Example:

final stack = contentstack.Stack('apiKey, 'deliveryKey, 'environment);
final query = stack.contentType('contentTypeUid').entry().query();
query.includeContentType();

Implementation

void includeContentType() {
  queryParameter['include_content_type'] = 'true';
  queryParameter['include_global_field_schema'] = 'true';
}