isNotificationAllowed method
Check if the notifications are globally permitted
Implementation
@override
Future<bool> isNotificationAllowed() async {
final bool isAllowed = await methodChannel
.invokeMethod(CHANNEL_METHOD_IS_NOTIFICATION_ALLOWED);
return isAllowed;
}