hasNotificationPermission method
Check if notification permission is granted
Implementation
@override
Future<bool> hasNotificationPermission() async {
final hasPermission = await _methodChannel.invokeMethod<bool>('hasNotificationPermission');
return hasPermission ?? false;
}