AsyncTask2<T, D> constructor

AsyncTask2<T, D>({
  1. required Future func(
    1. T,
    2. D
    ),
  2. required T arg,
  3. required D arg2,
  4. dynamic onCancel()?,
})

Implementation

AsyncTask2({
  required this.func,
  required this.arg,
  required this.arg2,
  this.onCancel,
});