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) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}