TopicPreference class

The contact's preference for being opted-in to or opted-out of a topic.

Constructors

TopicPreference({required SubscriptionStatus subscriptionStatus, required String topicName})
TopicPreference.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionStatus SubscriptionStatus
The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.
final
topicName String
The name of the topic.
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