getPersistenceSupportStatus method

bool getPersistenceSupportStatus()

getPersistenceSupportStatus use this method to check the persistence storage enable/disable status

Implementation

bool getPersistenceSupportStatus() {
  var status = _sharedPreference
      .getBool(SharedPreferenceConstants.isPersistenceSupportEnabled);
  return status ?? false;
}