getInfo method

Future<AriaDetail?> getInfo(
  1. String gid
)

get details

Implementation

Future<AriaDetail?> getInfo(String gid) async {
  if (client != null) {
    final info = await getAriaStatus(client: client!, gid: gid);
    return AriaDetail.fromJson(jsonDecode(info));
  }
  return null;
}