onError method
Hook called if sending fails.
Override to handle send failures.
Implementation
Future<void> onError(dynamic error, StackTrace stackTrace) async {}
Hook called if sending fails.
Override to handle send failures.
Future<void> onError(dynamic error, StackTrace stackTrace) async {}