quit method Null safety

Future<SmtpResponse> quit()

Implementation

Future<SmtpResponse> quit() async {
  final response = await sendCommand(SmtpQuitCommand(this));
  isLoggedIn = false;
  return response;
}