uploadLogs method Null safety

Future<NIMResult<String>> uploadLogs(
  1. {String? chatroomId,
  2. String? comment,
  3. bool partial = true}

Pack the logs and upload them. The URL of the log files will be returned.

chatroomId (Optional) Specify the chat room ID to upload the chat room logs.
comment (optional) The log comments (up to 4,096 characters)
partial Only available for the Android platform true: upload a partial of logs, false: upload all logs.


Future<NIMResult<String>> uploadLogs({
  String? chatroomId,
  String? comment,
  bool partial = true,
}) {
  return _platform.uploadLogs(
      chatroomId: chatroomId, comment: comment, partial: partial);