isNotificationEnabled method
Implementation
bool isNotificationEnabled() {
bool? isEnabled = _prefs.getBool('notification.enabled');
if (null != isEnabled) {
if (kDebugMode) {
print('isEnabled = $isEnabled');
}
return isEnabled;
}
return true;
}