VInsertRoomEvent class

Event for inserting a room. when you receive this event, you should insert the room into your rooms list. this means that you should add the room to the top of the list. this is new chat it may be group or single chat.

Inheritance

Constructors

VInsertRoomEvent({required String roomId, required VRoom room})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
room VRoom
final
roomId String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
timestamp DateTime
The event time
no setterinherited

Methods

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

Operators

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