setPriority method

Future<void> setPriority(
  1. AndroidNotificationPriority newPriority
)

users are allowed to change some app notification via the system UI; this probably won't work properly if they've done so (see android plugin implementation for details)

Implementation

Future<void> setPriority(AndroidNotificationPriority newPriority) async {
  await _invokeMainChannel(
      "setNotificationPriority", <dynamic>[describeEnum(newPriority)]);
}