onFailure method
Called when handle throws an exception. Override for custom error handling.
Implementation
Future<void> onFailure(Object error, StackTrace stackTrace) async {}
Called when handle throws an exception. Override for custom error handling.
Future<void> onFailure(Object error, StackTrace stackTrace) async {}