ChatModal class

Constructors

ChatModal({String? id, required String from, required String message, required String messageType, required Timestamp createdAt, ValueNotifier<int>? progress, String? thumbnail, int? durationInSeconds, AudioPlayer? audioPlayer, bool fromServer = true, bool isCached = false, required List deliveredTo, required List readBy, required Map reactions})
ChatModal.fromJson(Map data, String id, {bool isCachedTemp = false})
factory

Properties

audioPlayer ↔ AudioPlayer?
getter/setter pair
createdAt ↔ Timestamp
getter/setter pair
deliveredTo ↔ List
getter/setter pair
durationInSeconds ↔ int?
getter/setter pair
from ↔ String
getter/setter pair
fromServer ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
getter/setter pair
isCached ↔ bool
getter/setter pair
message ↔ String
getter/setter pair
messageType ↔ String
getter/setter pair
progress ↔ ValueNotifier<int>?
getter/setter pair
reactions ↔ Map
getter/setter pair
readBy ↔ List
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thumbnail ↔ String?
getter/setter pair

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

Operators

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