TF-123 Create objects for caching mailbox
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import 'package:jmap_dart_client/jmap/mail/mailbox/mailbox.dart';
|
||||
|
||||
extension MailboxNameExtension on MailboxName {
|
||||
int compareAlphabetically(MailboxName? other) {
|
||||
if (other == null) {
|
||||
return 1;
|
||||
}
|
||||
return name.toLowerCase().compareTo(other.name.toLowerCase());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user