id method
Reports the optional clientId
to the server and returns the server ID.
This requires the server to the support the IMAP4 ID extension. Check ImapServerInfo.supportsId to see if the ID extension is supported.
Implementation
Future<Id?> id({Id? clientId}) {
final cmd = Command(
'ID ${clientId ?? 'NIL'}',
writeTimeout: defaultWriteTimeout,
responseTimeout: defaultResponseTimeout,
);
return sendCommand(cmd, IdParser());
}