BaseMessage class
- Implementers
- Annotations
-
- @JsonSerializable()
Constructors
- BaseMessage({required String id, required MessageType type, String? fromId, String? fromName, int? sendTime})
-
BaseMessage.fromJson(Map<
String, dynamic> json) -
factory
- BaseMessage.fromString(String payload)
-
factory
Properties
Methods
-
isChatMarkerEvent(
) → bool -
isChatMessage(
) → bool -
isInvitationEvent(
) → bool -
isInvitationResponseEvent(
) → bool -
isPresenceEvent(
) → bool -
isTypingEvent(
) → bool -
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
Static Methods
-
sendTimeFromJson(
dynamic milliseconds) → int