Chat class
Constructors
-
Chat.new({int? chatID, required User user, Rx<
ChatMessage> ? lastmessage, Rxn<List< ? messages, required APIChat chatType, required Rx<ChatMessage> >bool> chatNotification, Rx<bool> ? calling}) -
Chat.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
calling
↔ Rx<
bool> ? -
getter/setter pair
- chatID ↔ int?
-
getter/setter pair
-
chatNotification
↔ Rx<
bool> -
getter/setter pair
- chatType ↔ APIChat
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lastmessage
↔ Rx<
ChatMessage> ? -
getter/setter pair
-
messages
↔ Rxn<
List< ChatMessage> > -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user ↔ User
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
profilesendMessage(
dynamic context, {required UserAccounts currentUserAccounts}) → Widget -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited