fromPop method Null safety

MailException fromPop(
  1. MailClient mailClient,
  2. PopException e,
  3. [StackTrace? s]
)

Implementation

static MailException fromPop(MailClient mailClient, PopException e,
    [StackTrace? s]) {
  return MailException(mailClient, e.message,
      stackTrace: s ?? e.stackTrace, details: e.response);
}