hasRemoteNotificationsEnabled property

Future<bool> get hasRemoteNotificationsEnabled

Indicates whether remote notifications are enabled.

Returns true if remote notifications are enabled for the application, and false otherwise.

Implementation

static Future<bool> get hasRemoteNotificationsEnabled async {
  return await _channel.invokeMethod('hasRemoteNotificationsEnabled');
}