RoomMembershipMessage class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

RoomMembershipMessage({required String id, String? firstName, String? lastName, required String roomId, String? avatar, PresenceType presenceType = PresenceType.available, required bool isGroup, List<RoomMember>? members, int? sendTime})
RoomMembershipMessage.fromJson(Map<String, dynamic> json)
factory

Properties

avatar String?
final
dateTime DateTime?
no setterinherited
firstName String?
final
fromId String?
finalinherited
fromName String?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
finalinherited
isGroup bool
final
lastName String?
final
members List<RoomMember>?
final
presenceType PresenceType
final
roomId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTime int?
finalinherited
type MessageType
finalinherited

Methods

isChatMarkerEvent() bool
inherited
isChatMessage() bool
inherited
isInvitationEvent() bool
inherited
isInvitationResponseEvent() bool
inherited
isPresenceEvent() bool
inherited
isTypingEvent() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

boolFromJson(dynamic value) bool