includeReferenceContentTypeUID method
This method also includes the content type UIDs of the referenced entries returned in the response return Query so you can chain this call
Example:
final stack = contentstack.Stack('apiKey, 'deliveryKey, 'environment);
final query = stack.contentType('contentTypeUid').entry().query();
query.includeReferenceContentTypeUID();
Implementation
void includeReferenceContentTypeUID() {
queryParameter['include_reference_content_type_uid'] = 'true';
}