sendCommand method Null safety

Future<SmtpResponse> sendCommand(
  1. SmtpCommand command
)

Implementation

Future<SmtpResponse> sendCommand(SmtpCommand command) {
  _currentCommand = command;
  writeText(command.command, command);
  return command.completer.future;
}