getStats method
Get statistics from the server.
Implementation
Future<LavalinkStats> getStats() async {
final response = jsonDecode(await _executeSafe('GET', '/v4/stats'));
return LavalinkStats.fromJson(response as Map<String, Object?>);
}
Get statistics from the server.
Future<LavalinkStats> getStats() async {
final response = jsonDecode(await _executeSafe('GET', '/v4/stats'));
return LavalinkStats.fromJson(response as Map<String, Object?>);
}