trendingSearchTerms method
Retrieves the trending search terms (English only)
Implementation
Future<List<String>> trendingSearchTerms() async {
final uri = _baseUri.replace(path: '$_apiVersion/trending/searches');
final response = await _getWithAuthorization(uri);
final Map<String, dynamic> result = json.decode(response.body);
final List<dynamic> data = result['data'];
return data.map((d) => d.toString()).toList();
}