removeAll method

  1. @override
Future removeAll({
  1. bool isPersistent = false,
})
override

Implementation

@override
Future removeAll({bool isPersistent = false}) async {
  isPersistent == true
      ? await methodChannel.invokeMapMethod(
          PreferencesConstants.removePermanentDataKeys.name,
          {PreferencesConstants.isPersistant.name: isPersistent})
      : await methodChannel.invokeMapMethod(PreferencesConstants.removeAll.name,
          {PreferencesConstants.isPersistant.name: isPersistent});
}