EmailSubscriptionDefinition class
Defines a single subscription: permission to send emails for a specific, focused subject (generally timeboxed, such as for a specific release of a product or feature).
- Annotations
-
- @JsonSerializable()
Constructors
- EmailSubscriptionDefinition()
-
EmailSubscriptionDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
localization
↔ Map<
String, EMailSettingSubscriptionLocalization> ? -
A dictionary of localized text for the EMail Opt-in setting, keyed by the locale.
getter/setter pair
- name ↔ String?
-
The unique identifier for this subscription.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String?
-
The bitflag value for this subscription. Should be a unique power of two value.
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<EmailSubscriptionDefinition>