updateMySession method Null safety

Future<NIMResult<void>> updateMySession(
  1. String sessionId,
  2. NIMSessionType sessionType,
  3. String ext
)

【Conversation Service】Update a conversation by setting the extension field; if the conversation to be updated does not exist, it will be created and the created one has no lastMsg.

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

[ext] The conversation's extension field, only visible to the current user

Implementation

Future<NIMResult<void>> updateMySession(
    String sessionId, NIMSessionType sessionType, String ext) {
  return _platform.updateMySession(sessionId, sessionType, ext);
}