createAriaTaskOption function

Future<TaskOptions> createAriaTaskOption({
  1. List<String>? header,
  2. String? allProxy,
  3. int? split,
  4. String? dir,
  5. String? out,
  6. String? gid,
  7. bool? rContinue,
  8. bool? autoFileRenaming,
  9. bool? checkIntegrity,
  10. String? lowestSpeedLimit,
  11. String? maxDownloadLimit,
  12. int? maxTries,
  13. int? maxConnectionPerServer,
  14. int? timeout,
  15. required Map<String, String> extraOptions,
})

创建配置

Implementation

Future<TaskOptions> createAriaTaskOption(
        {List<String>? header,
        String? allProxy,
        int? split,
        String? dir,
        String? out,
        String? gid,
        bool? rContinue,
        bool? autoFileRenaming,
        bool? checkIntegrity,
        String? lowestSpeedLimit,
        String? maxDownloadLimit,
        int? maxTries,
        int? maxConnectionPerServer,
        int? timeout,
        required Map<String, String> extraOptions}) =>
    RustLib.instance.api.crateApiAriaCreateAriaTaskOption(
        header: header,
        allProxy: allProxy,
        split: split,
        dir: dir,
        out: out,
        gid: gid,
        rContinue: rContinue,
        autoFileRenaming: autoFileRenaming,
        checkIntegrity: checkIntegrity,
        lowestSpeedLimit: lowestSpeedLimit,
        maxDownloadLimit: maxDownloadLimit,
        maxTries: maxTries,
        maxConnectionPerServer: maxConnectionPerServer,
        timeout: timeout,
        extraOptions: extraOptions);