getGlobalStat method

  1. @override
Future<Aria2GlobalStat> getGlobalStat()
override

获取全局状态

Implementation

@override
Future<Aria2GlobalStat> getGlobalStat() async {
  var data = await _requestApi('aria2.getGlobalStat', []);
  return Aria2GlobalStat.fromJson(data);
}