getMetaData<TData> method
Implementation
Future<TData> getMetaData<TData>(String key) async {
final response = await request<Map<String, dynamic>, Map<String, dynamic>>(
api.baseUrl, '$endpointSuffix?\$$key', null, ApiRequestMethod.GET,
headers: api.getRequestHeaders());
response.throwOnError();
return response.data[key] as TData;
}