upload method Null safety
Upload data to NetEase Object Storage (NOS).
Implementation
Future<NIMResult<String>> upload(
{required String filePath, String? mimeType, String? sceneKey}) async {
return _platform.upload(
filePath: filePath, mimeType: mimeType, sceneKey: sceneKey);
}