searchRoamingMsg method Null safety

Future<NIMResult<List<NIMMessage>>> searchRoamingMsg(
  1. String otherAccid,
  2. int fromTime,
  3. int endTime,
  4. String keyword,
  5. int limit,
  6. bool reverse
)

Search cloud messages of one-to-one chats.

Implementation

Future<NIMResult<List<NIMMessage>>> searchRoamingMsg(
    String otherAccid,
    int fromTime,
    int endTime,
    String keyword,
    int limit,
    bool reverse) async {
  return _platform.searchRoamingMsg(
      otherAccid, fromTime, endTime, keyword, limit, reverse);
}