AsyncSimpleTask constructor
AsyncSimpleTask(
- Future func(), {
- dynamic onCancel()?,
Implementation
AsyncSimpleTask(this.func, {this.onCancel});
AsyncSimpleTask(this.func, {this.onCancel});