Message class

Message

Implemented types

Constructors

Message({required String $id, required String $createdAt, required String $updatedAt, required String providerType, required List topics, required List users, required List targets, String? scheduledAt, String? deliveredAt, List? deliveryErrors, required int deliveredTotal, required Map<String, dynamic> data, required String status})
Message.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Message creation time in ISO 8601 format.
final
$id String
Message ID.
final
$updatedAt String
Message update date in ISO 8601 format.
final
data Map<String, dynamic>
Data of the message.
final
deliveredAt String?
The time when the message was delivered.
final
deliveredTotal int
Number of recipients the message was delivered to.
final
deliveryErrors List?
Delivery errors if any.
final
hashCode int
The hash code for this object.
no setterinherited
providerType String
Message provider type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledAt String?
The scheduled time for message.
final
status String
Status of delivery.
final
targets List
Target IDs set as recipients.
final
topics List
Topic IDs set as recipients.
final
users List
User IDs set as recipients.
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