TMDomain class Null safety

MailTm domains.

Constructors

TMDomain({required String id, required String domain, required bool isActive, required bool isPrivate, required DateTime createdAt, required DateTime updatedAt})
const

Properties

createdAt DateTime
When the domain was created
final
domain String
Domain as string (example: @mailtm.com)
final
hashCode int
The hash code for this object.
read-only, inherited
id String
Domain's id
final
isActive bool
If the domain is active
final
isPrivate bool
If the domain is private
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt DateTime
When the domain was updated
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns the domain as a Map
toString() String
Stringifies the domain
override

Operators

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

Static Properties

domains Future<List>
Returns all the domains
read-only