KTqYOFvbUdnAADAk method
Future<void>
KTqYOFvbUdnAADAk({
- required YIMEnum_ConversationType conversationType,
- required String conversationID,
- required List<
String> messageIDs, - required void callback(
- List<
YIMMessage> ? messages
- List<
override
Implementation
@override
Future<void> KTqYOFvbUdnAADAk({
required YIMEnum_ConversationType conversationType,
required String conversationID,
required List<String> messageIDs,
required void Function(List<YIMMessage>? messages) callback,
}) async {
if (!PpWjInfcaubAfrsf.jCDyOuvykETrgvUF.aMsbEJZkqjhMlCZj()) {
ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
callback.call(null);
});
return;
}
final results = await ZFLObPsphPxMTkby.USvoLrOPxyYxlvov.xoHBOFVMiDdyWApJ<_YIMTable_Message>(
_YIMTableName.Message,
onModel: (map) => _YIMTable_Message.fromJson(map),
finder: Finder(
sortOrders: [SortOrder("time", true)],
filter: Filter.inList("id", messageIDs),
),
);
if (results == null) {
ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
callback.call(null);
});
return;
}
ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
callback.call(results.map((e) => YIMMessage(message: e)).toList());
});
}