JMConversationInfo class

Constructors

JMConversationInfo.fromJson(Map json)

Properties

conversationType JMConversationType
getter/setter pair
extras Map
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
latestMessage ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target ↔ dynamic
getter/setter pair
title String
getter/setter pair
unreadCount int
getter/setter pair

Methods

getHistoryMessages({required int? from, required int? limit, bool isDescend = false}) Future<List>
isMyMessage(dynamic message) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendCustomMessage({required Map? customObject, JMMessageSendOptions? sendOption, Map? extras}) Future<JMCustomMessage>
sendFileMessage({required dynamic type, required String? path, JMMessageSendOptions? sendOption, Map? extras}) Future<JMFileMessage>
sendImageMessage({required String? path, JMMessageSendOptions? sendOption, Map? extras}) Future<JMImageMessage>
sendLocationMessage({required double? latitude, required double? longitude, required int? scale, String? address, JMMessageSendOptions? sendOption, Map? extras}) Future<JMLocationMessage>
sendTextMessage({required String? text, JMMessageSendOptions? sendOption, Map? extras}) Future<JMTextMessage>
sendVoiceMessage({required String? path, JMMessageSendOptions? sendOption, Map? extras}) Future<JMVoiceMessage>
setExtras(Map extras) Future<void>
toJson() Map
toString() String
A string representation of this object.
inherited

Operators

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