RPUITask constructor

const RPUITask({
  1. Key? key,
  2. required RPOrderedTask task,
  3. void onSubmit(
    1. RPTaskResult
    )?,
  4. void onCancel(
    1. RPTaskResult? result
    )?,
})

Implementation

const RPUITask({
  super.key,
  required this.task,
  this.onSubmit,
  this.onCancel,
});