EmailRegistrationOptions class

Options for registering an email channel.

Constructors

EmailRegistrationOptions.commercial({required int commercialOptedIn, int? transactionalOptedIn, Map<String, String>? properties})
Creates options for a commercial email registration.
factory
EmailRegistrationOptions.options({int? transactionalOptedIn, Map<String, String>? properties, bool doubleOptIn = false})
Creates options for a standard (non-commercial) email registration.
factory

Properties

commercialOptedIn → int?
Millisecond timestamp for commercial opted-in date.
final
doubleOptIn → bool
Whether double opt-in is enabled.
final
hashCode → int
The hash code for this object.
no setterinherited
properties → Map<String, String>?
Optional properties associated with the registration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transactionalOptedIn → int?
Millisecond timestamp for transactional opted-in date.
final

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

Operators

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