cancelRestore method

  1. @override
Future<void> cancelRestore()
override

This method is used to cancel the restore started.

Implementation

@override
Future<void> cancelRestore() async {
  try {
    await mirrorFlyMethodChannel.invokeMethod<bool>('cancelRestore');
  } on PlatformException catch (e) {
    LogMessage.d("cancelRestore Platform Exception =", " $e");
  } on Exception catch (e) {
    LogMessage.d("cancelRestore Exception ", " $e");
  }
}