setBool method
Implementation
Future<bool> setBool({required bool value, required String key}) {
try {
return pref!.setBool(_getLastStringOfEnum(key), value);
} catch (e) {
_logExceptionByDeveloper(_className, 'Error while set bool to shared: ',
error: e);
return Future.value(false);
}
}