EmailOptInDefinition class

Defines a single opt-in category: a wide-scoped permission to send emails for the subject related to the opt-in.

Annotations
  • @JsonSerializable()

Constructors

EmailOptInDefinition()
EmailOptInDefinition.fromJson(Map<String, dynamic> json)
factory

Properties

dependentSubscriptions List<EmailSubscriptionDefinition>?
Information about the dependent subscriptions for this opt-in.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The unique identifier for this opt-in category.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setByDefault bool?
If true, this opt-in setting should be set by default in situations where accounts are created without explicit choices about what they're opting into.
getter/setter pair
value OptInFlags?
The flag value for this opt-in category. For historical reasons, this is defined as a flags enum.
getter/setter pair

Methods

asyncToJson() Future<Map<String, dynamic>>
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

Static Methods

asyncFromJson(Map<String, dynamic> json) Future<EmailOptInDefinition>