LatestReceiptState class

Constructors

LatestReceiptState({required LatestReceiptStateForTimeline global, LatestReceiptStateForTimeline? mainThread, Map<String, LatestReceiptStateForTimeline> byThread = const {}})
LatestReceiptState.fromJson(Map<String, dynamic> json)
factory

Properties

byThread Map<String, LatestReceiptStateForTimeline>
Receipts inside threads
getter/setter pair
global LatestReceiptStateForTimeline
Receipts for no specific thread
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mainThread LatestReceiptStateForTimeline?
Receipt for the "main" thread, which is the global timeline without any thread events
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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
update(ReceiptEventContent content, Room room) Future<void>

Operators

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

Constants

eventType → const String