addAriaTask function

Future<String> addAriaTask({
  1. required List<String> urls,
  2. required Client client,
  3. TaskOptions? options,
  4. int? position,
  5. required FutureOr<void> onComplete(),
  6. required FutureOr<void> onError(),
})

添加任务

Implementation

Future<String> addAriaTask(
        {required List<String> urls,
        required Client client,
        TaskOptions? options,
        int? position,
        required FutureOr<void> Function() onComplete,
        required FutureOr<void> Function() onError}) =>
    RustLib.instance.api.crateApiAriaAddAriaTask(
        urls: urls,
        client: client,
        options: options,
        position: position,
        onComplete: onComplete,
        onError: onError);