AliasDto class

Constructors

AliasDto({required String id, required String emailAddress, String? maskedEmailAddress, required String userId, required String inboxId, String? name, bool? useThreads, required bool isVerified, DateTime? createdAt, DateTime? updatedAt})
Returns a new AliasDto instance.

Properties

createdAt DateTime?
getter/setter pair
emailAddress String
The alias's email address for receiving email
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
getter/setter pair
inboxId String
Inbox that is associated with the alias
getter/setter pair
isVerified bool
Has the alias been verified. You must verify an alias if the masked email address has not yet been verified by your account
getter/setter pair
maskedEmailAddress String?
The underlying email address that is hidden and will received forwarded email
getter/setter pair
name String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
getter/setter pair
userId String
getter/setter pair
useThreads bool?
If alias will generate response threads or not when email are received by it
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) AliasDto?
Returns a new AliasDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<AliasDto>?
mapFromJson(dynamic json) Map<String, AliasDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<AliasDto>>

Constants

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