Contact class

A contact is the end-user who is receiving the email.

Constructors

Contact({String? emailAddress, DateTime? lastUpdatedTimestamp, List<TopicPreference>? topicDefaultPreferences, List<TopicPreference>? topicPreferences, bool? unsubscribeAll})
Contact.fromJson(Map<String, dynamic> json)
factory

Properties

emailAddress String?
The contact's email address.
final
hashCode int
The hash code for this object.
no setterinherited
lastUpdatedTimestamp DateTime?
A timestamp noting the last time the contact's information was updated.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topicDefaultPreferences List<TopicPreference>?
The default topic preferences applied to the contact.
final
topicPreferences List<TopicPreference>?
The contact's preference for being opted-in to or opted-out of a topic.
final
unsubscribeAll bool?
A boolean value status noting if the contact is unsubscribed from all contact list topics.
final

Methods

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

Operators

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