Topic class

An interest group, theme, or label within a list. Lists can have multiple topics.

Constructors

Topic({required SubscriptionStatus defaultSubscriptionStatus, required String displayName, required String topicName, String? description})
Topic.fromJson(Map<String, dynamic> json)
factory

Properties

defaultSubscriptionStatus SubscriptionStatus
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
final
description String?
A description of what the topic is about, which the contact will see.
final
displayName String
The name of the topic the contact will see.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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