queryMySession method Null safety

Future<NIMResult<RecentSession>> queryMySession(
  1. String sessionId,
  2. NIMSessionType sessionType
)

【Conversation Service】Get a conversation.

[sessionId] For one-to-one chats, the format is p2p|accid; for group chats, team|tid; for super group chats, super_team|tid

Implementation

Future<NIMResult<RecentSession>> queryMySession(
    String sessionId, NIMSessionType sessionType) {
  return _platform.queryMySession(sessionId, sessionType);
}