includeBranch method

void includeBranch()

includes branch in the response

Example:

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

Implementation

void includeBranch() {
  queryParameter['include_branch'] = true.toString();
}