includeGlobalField method

void includeGlobalField()

This method includes the Global field's schema along with the content type schema

Example:

final stack = contentstack.Stack('apiKey','deliveryToken','environment');
final contentTypeQuery = stack.contentType().query()
final response = contentTypeQuery.includeGlobalField().find();
print(response);

Implementation

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