VSocketOnDeliverMessagesModel class
Data model class for messages delivered event from WebSocket server
Constructors
- VSocketOnDeliverMessagesModel({required String roomId, required String userId, required String date})
-
const
-
VSocketOnDeliverMessagesModel.fromMap(Map<
String, dynamic> map) -
Creates an instance of this object from the given
map
factory
Properties
- date → String
-
The date and time when message is delivered in ISO 8601 format with UTC timezone
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMe → bool
-
Returns true if the message is delivered by the current authenticated user
no setter
- localDate → DateTime
-
Returns the local date and time when message is delivered
no setter
- roomId → String
-
Room ID where message is delivered
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String
-
User ID who delivered message
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Returns a Map representation of this object
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited