getVersion method

  1. @override
Future<Aria2Version> getVersion()
override

获取版本信息

Implementation

@override
Future<Aria2Version> getVersion() async {
  var data = await _requestApi("aria2.getVersion", []);
  return Aria2Version.fromJson(data);
}