cancelUploadAttachment method Null safety

Future<NIMResult<void>> cancelUploadAttachment(
  1. NIMMessage message
)

Cancel downloading the message attachment.

Implementation

Future<NIMResult<void>> cancelUploadAttachment(NIMMessage message) async {
  return _platform.cancelUploadAttachment(message);
}