markAllMessagesAsRead method
~english Marks all messages as read. ~end
~chinese 将所有消息标为已读。 ~end
Implementation
Future<void> markAllMessagesAsRead() async {
Map result = await _emConversationChannel.invokeMethod(
ChatMethodKeys.markAllMessagesAsRead, this._toJson());
try {
ChatError.hasErrorFromResult(result);
} on ChatError catch (e) {
throw e;
}
}