onConnectionError method Null safety

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

Implementation

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