clearServerHistory method Null safety

Future<void> clearServerHistory(
  1. String sessionId,
  2. NIMSessionType sessionType,
  3. bool sync
)

Delete the history messages of a conversation from the cloud.

Implementation

Future<void> clearServerHistory(
    String sessionId, NIMSessionType sessionType, bool sync) async {
  return _platform.clearServerHistory(sessionId, sessionType, sync);
}