Topic class
Topic
- Implemented types
Constructors
-
Topic({required String $id, required String $createdAt, required String $updatedAt, required String name, required String description, required int emailTotal, required int smsTotal, required int pushTotal, required List<
String> subscribe, int? qos, int? expiry}) -
Topic.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $createdAt → String
-
Topic creation time in ISO 8601 format.
final
- $id → String
-
Topic ID.
final
- $updatedAt → String
-
Topic update date in ISO 8601 format.
final
- description → String
-
Optional description for the topic.
final
- emailTotal → int
-
Total count of email subscribers subscribed to the topic.
final
- expiry → int?
-
Message retention in seconds for offline delivery. Null inherits the lowest expiry of the project's enabled Appwrite providers, or the 7-day ledger window if none sets one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the topic.
final
- pushTotal → int
-
Total count of push subscribers subscribed to the topic.
final
- qos → int?
-
MQTT QoS for delivery on this topic. Null lets the subscriber choose their level.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smsTotal → int
-
Total count of SMS subscribers subscribed to the topic.
final
-
subscribe
→ List<
String> -
Subscribe permissions.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited