getBool method
Implementation
bool? getBool({required key}) {
try {
if (contain(key: key)) return pref!.getBool(_getLastStringOfEnum(key));
} catch (e) {
_logExceptionByDeveloper(
_className, 'Error while getting bool from shared: ',
error: e);
}
return null;
}