includeContentType method

void includeContentType()
inherited

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

Example:

final stack = contentstack.Stack('apiKey','deliveryToken','environment');
final entry  = stack.contentType("contentTypeUid").entry("entryUid");
entry.includeContentType();

Implementation

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