SmtpResponse constructor Null safety

SmtpResponse(
  1. List<String> responseTexts
)

Implementation

SmtpResponse(List<String> responseTexts) {
  for (var responseText in responseTexts) {
    if (responseText.isNotEmpty) {
      responseLines.add(SmtpResponseLine(responseText));
    }
  }
}