searchMessage method Null safety

Future<NIMResult<List<NIMMessage>>> searchMessage(
  1. NIMSessionType sessionType,
  2. String sessionId,
  3. MessageSearchOption searchOption
)

Search the messages of a conversation.

Implementation

Future<NIMResult<List<NIMMessage>>> searchMessage(NIMSessionType sessionType,
    String sessionId, MessageSearchOption searchOption) async {
  return _platform.searchMessage(sessionType, sessionId, searchOption);
}