closeConnection method Null safety

  1. @Deprecated('Please use `disconnect()` instead.')
Future closeConnection()
@Deprecated('Please use `disconnect()` instead.')

Closes the connection to the remote SMTP server.

Implementation

@Deprecated('Please use `disconnect()` instead.')
Future<dynamic> closeConnection() {
  return disconnect();
}