onConnectionError method

  1. @override
void onConnectionError(
  1. dynamic error
)

Implementation

@override
void onConnectionError(error) {
  eventBus.fire(SmtpConnectionLostEvent());
}