getQuotaRoot method
Retrieves the quota root for the specified mailboxName
which defaults to the root ""
.
Note that the server needs to support the QUOTA capability.
Implementation
Future<QuotaRootResult> getQuotaRoot({String mailboxName = '""'}) {
mailboxName = _encodeMailboxPath(mailboxName);
final cmd = Command('GETQUOTAROOT $mailboxName');
final parser = QuotaRootParser();
return sendCommand<QuotaRootResult>(cmd, parser);
}