showError<T extends Object?> method

Future<T?> showError<T extends Object?>(
  1. Object error
)

Implementation

Future<T?> showError<T extends Object?>(Object error) async {
  if (errorRoute == null) {
    throw const WizardException(
        '`Wizard.showError()` called without an error route.');
  }

  return jump<T>(errorRoute!, arguments: error);
}