CatapushMessage class

Constructors

CatapushMessage({required String id, required String sender, String? body, String? subject, String? previewText, required bool hasAttachment, String? channel, String? replyToId, Map<String, dynamic>? optionalData, DateTime? receivedTime, DateTime? readTime, DateTime? sentTime, required CatapushMessageState state})
CatapushMessage.fromMap(Map<String, dynamic> json)
factory

Properties

body String?
getter/setter pair
channel String?
getter/setter pair
hasAttachment bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
optionalData Map<String, dynamic>?
getter/setter pair
previewText String?
getter/setter pair
readTime DateTime?
getter/setter pair
receivedTime DateTime?
getter/setter pair
replyToId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String
getter/setter pair
sentTime DateTime?
getter/setter pair
state CatapushMessageState
getter/setter pair
subject String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited