lukas-heiligenbrunner
600c2057fe
load build data to graph redesign top info tiles place add button on header folder restructure
10 lines
225 B
Dart
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);
|
|
}
|
|
}
|