find<T, K> method
This call returns comprehensive information of all the content types available in a particular stack in your account.
Example:
final stack = contentstack.Stack('apiKey','deliveryToken','environment');
final contentTypeQuery = stack.contentType().query()
final response = contentTypeQuery.includeCount().find();
print(response);
Implementation
Future<T> find<T, K>({Map<String, String> queryParams}) async {
if (queryParams != null && queryParams.isNotEmpty) {
queryParameter.addAll(queryParams);
}
final uri = Uri.https(_client.stack.endpoint, _urlPath, queryParameter);
return _client.sendRequest<T, K>(uri);
}