AsyncTask2<T, D> constructor
Null safety
- {required Future func(
- T,
- D
- required T arg,
- required D arg2,
- dynamic onCancel(
Implementation
AsyncTask2({
required this.func,
required this.arg,
required this.arg2,
this.onCancel,
});