aurcache/frontend/lib/api/statistics.dart
lukas-heiligenbrunner 600c2057fe add endpoint for general stats
load build data to graph
redesign top info tiles
place add button on header
folder restructure
2023-12-30 00:45:33 +01:00

10 lines
225 B
Dart

import '../models/stats.dart';
import 'api_client.dart';
extension StatsAPI on ApiClient {
Future<Stats> listStats() async {
final resp = await getRawClient().get("/stats");
return Stats.fromJson(resp.data);
}
}