AsyncTask2<T, D> constructor
AsyncTask2<T, D> ({
- 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,
});