lowLevelIncomingMailClient property Null safety

ClientBase lowLevelIncomingMailClient

Retrieves the low level mail client for reading mails

Example:

if (mailClient.lowLevelIncomingMailClientType == ServerType.imap) {
  final imapClient = mailClient.lowLevelIncomingMailClient as ImapClient;
  final response = await imapClient.uidFetchMessage(1232, '(ENVELOPE HEADER[])');
}

Implementation

ClientBase get lowLevelIncomingMailClient => _incomingMailClient.client;