download method Null safety

Future<NIMResult<void>> download(
  1. {required String url,
  2. String? path}
)

Download data from NetEase Object Storage (NOS).

Implementation

Future<NIMResult<void>> download({required String url, String? path}) async {
  return _platform.download(url: url, path: path);
}