RunnableWithFallback<RunInput extends Object?, RunOutput extends Object?> constructor
RunnableWithFallback<RunInput extends Object?, RunOutput extends Object?> ({
- required Runnable<
RunInput, RunnableOptions, RunOutput> mainRunnable, - required List<
Runnable< fallbacks,RunInput, RunnableOptions, RunOutput> >
Implementation
RunnableWithFallback({
required this.mainRunnable,
required this.fallbacks,
}) : super(defaultOptions: const RunnableOptions());