enableDisableArchivedSettings method

  1. @override
Future<bool?> enableDisableArchivedSettings(
  1. bool enable
)
override

Implementation

@override
Future<bool?> enableDisableArchivedSettings(bool enable) async {
  bool? res;
  try {
    res = await mirrorFlyMethodChannel.invokeMethod<bool>(
        'enableDisableArchivedSettings', {"enable": enable});
    return res;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}