ThreadProjection class

Constructors

ThreadProjection({String? name, required String id, String? subject, required String userId, required String inboxId, required DateTime createdAt, required DateTime updatedAt, List<String> to = const [], List<String> bcc = const [], List<String> cc = const [], required String aliasId})
Returns a new ThreadProjection instance.

Properties

aliasId String
Alias ID
getter/setter pair
bcc List<String>
BCC recipients
getter/setter pair
cc List<String>
CC recipients
getter/setter pair
createdAt DateTime
Created at DateTime
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
ID of email thread
getter/setter pair
inboxId String
Inbox ID
getter/setter pair
name String?
Name of thread
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String?
Thread subject
getter/setter pair
to List<String>
To recipients
getter/setter pair
updatedAt DateTime
Updated at DateTime
getter/setter pair
userId String
User ID
getter/setter pair

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.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) ThreadProjection?
Returns a new ThreadProjection instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<ThreadProjection>?
mapFromJson(dynamic json) Map<String, ThreadProjection>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<ThreadProjection>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.