getOption method

  1. @override
Future<Aria2Option> getOption(
  1. String gid
)
override

获取任务配置

Implementation

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