Account class

An account that can be used to send emails.

Annotations
  • @freezed

Constructors

Account.new({required String email, @JsonKey(name: 'timestamp_created') DateTime? timestampCreated, @JsonKey(name: 'timestamp_updated') DateTime? timestampUpdated, String? status, @JsonKey(name: 'warmup_status') String? warmupStatus, @JsonKey(name: 'imap_host') String? imapHost, @JsonKey(name: 'imap_port') int? imapPort, @JsonKey(name: 'smtp_host') String? smtpHost, @JsonKey(name: 'smtp_port') String? smtpPort, @JsonKey(name: 'daily_limit') int? dailyLimit, @JsonKey(name: 'sending_gap') String? sendingGap})
Default constructor for the account.
const
factory
Account.fromJson(Map<String, dynamic> json)
Create an account from a JSON object.
factory

Properties

copyWith → $AccountCopyWith<Account>
no setterinherited
dailyLimit int?
no setterinherited
email String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
imapHost String?
no setterinherited
imapPort int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendingGap String?
no setterinherited
smtpHost String?
no setterinherited
smtpPort String?
no setterinherited
status String?
no setterinherited
timestampCreated DateTime?
no setterinherited
timestampUpdated DateTime?
no setterinherited
warmupStatus String?
no setterinherited

Methods

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

Operators

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