hasNotificationPermission method

  1. @override
Future<bool> hasNotificationPermission()
override

Whether this app may post notifications (always true below API 33).

Implementation

@override
Future<bool> hasNotificationPermission() async =>
    await methodChannel.invokeMethod<bool>('hasNotificationPermission') ??
    false;