setUserNotificationsEnabled method

Future<void> setUserNotificationsEnabled(
  1. bool enabled
)

Enables or disables the user notifications.

Implementation

Future<void> setUserNotificationsEnabled(bool enabled) async {
  return await _module.channel
      .invokeMethod('push#setUserNotificationsEnabled', enabled);
}