updateSession method Null safety

Future<NIMResult<void>> updateSession(
  1. {required NIMSession session,
  2. bool needNotify = false}
)

Update a conversation.

needNotify Specify whether to trigger a notification when the conversation is updated. Only supports modifying tag and extension.

Implementation

Future<NIMResult<void>> updateSession({
  required NIMSession session,
  bool needNotify = false,
}) {
  return _platform.updateSession(session: session, needNotify: needNotify);
}