getStats method
Get stats of the index.
Implementation
Future<IndexStats> getStats() async {
final response =
await http.getMethod<Map<String, Object?>>('/indexes/$uid/stats');
return IndexStats.fromMap(response.data!);
}
Get stats of the index.
Future<IndexStats> getStats() async {
final response =
await http.getMethod<Map<String, Object?>>('/indexes/$uid/stats');
return IndexStats.fromMap(response.data!);
}