tellStatus method

  1. @override
Future<Aria2Task> tellStatus(
  1. String gid
)
override

获取任务状态

Implementation

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