JMConversationInfo class Null safety

Constructors

JMConversationInfo.fromJson(Map json)

Properties

conversationType JMConversationType
read / write
extras Map
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
latestMessage ↔ dynamic
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
target ↔ dynamic
read / write
title String
read / write
unreadCount int
read / write

Methods

getHistoryMessages({required int? from, required int? limit, bool isDescend = false}) Future<List>
isMyMessage(dynamic message) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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