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 = '""'}) {
final cmd = Command(
'GETQUOTAROOT ${_encodeMailboxPath(mailboxName)}',
writeTimeout: defaultWriteTimeout,
responseTimeout: defaultResponseTimeout,
);
final parser = QuotaRootParser();
return sendCommand<QuotaRootResult>(cmd, parser);
}