MailFolder class

Represents a mail folder in a mailbox.

Annotations
  • @JsonSerializable.new()

Constructors

MailFolder({String? id, String? displayName, int? childFolderCount, int? totalItemCount, int? unreadItemCount, String? parentFolderId})
MailFolder.empty()
const
MailFolder.fromJson(Map<String, dynamic> json)
factory

Properties

childFolderCount → int?
The number of immediate child folders in the folder.
final
displayName → String?
The folder's display name.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The folder's unique identifier.
final
parentFolderId → String?
The parent folder's ID, or null if it's a root folder.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalItemCount → int?
The number of items in the folder.
final
unreadItemCount → int?
The number of unread items in the folder.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited