getEndpoint method
Utility method to make a custom http get call with the Api Key added to the headers
Implementation
Future<Response> getEndpoint(
HolodexEndpoint endpoint, {
Map<String, String>? headers,
Map<String, dynamic>? params,
}) async {
return get(path: endpoint.path, headers: headers, params: params);
}