Topic class

Topic

Implemented types

Constructors

Topic({required String $id, required String $createdAt, required String $updatedAt, required String name, required int emailTotal, required int smsTotal, required int pushTotal, required List subscribe})
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
emailTotal int
Total count of email subscribers subscribed to the topic.
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
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
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