getUris method

  1. @override
Future<List<Aria2Url>> getUris(
  1. String gid
)
override

获取任务的下载链接

Implementation

@override
Future<List<Aria2Url>> getUris(String gid) async {
  var data = await _requestApi('aria2.getUris', [gid]);
  return data.map<Aria2Url>((dt) => Aria2Url.fromJson(dt)).toList();
}