cancelMediaUploadOrDownload method
This method is used to cancel the media upload or download.
Implementation
@override
cancelMediaUploadOrDownload(String messageId) async {
try {
LogMessage.d("cancelMediaUploadOrDownload", messageId);
await mirrorFlyMethodChannel.invokeMethod(
'cancelMediaUploadOrDownload', {"messageId": messageId});
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}