Runnable constructor

Runnable(
  1. FutureOr<void> run(
    1. FlowContext context
    ), {
  2. @Deprecated("Will be removed in the next major version.") String? name,
})

Implementation

Runnable(this.run,
    {@Deprecated("Will be removed in the next major version.") this.name});