querySession method Null safety

Future<NIMResult<NIMSession>> querySession(
  1. NIMSessionInfo sessionInfo
)

Query the list of recent conversations. You can set an upper limit for the number of returned conversations to avoid data overload. sessionInfo - The conversation information

Implementation

Future<NIMResult<NIMSession>> querySession(NIMSessionInfo sessionInfo) {
  return _platform.querySession(sessionInfo);
}