getServers method
下载任务连接的服务器地址,及下载速度
Implementation
@override
Future<List<Aria2Server>> getServers(String gid) async {
var data = await _requestApi('aria2.getServers', [gid]);
return data.map<Aria2Server>((dt) => Aria2Server.fromJson(dt)).toList();
}