markAllMessagesAsRead method
将所有消息标为已读。
Implementation
Future<void> markAllMessagesAsRead() async {
Map result = await _emConversationChannel.invokeMethod(
ChatMethodKeys.markAllMessagesAsRead, this._toJson());
try {
EMError.hasErrorFromResult(result);
} on EMError catch (e) {
throw e;
}
}