NotificationPermission constructor

const NotificationPermission(
  1. String value
)

Creates a permission from a raw string value.

Prefer the predefined constants when possible. Use this constructor for values not yet covered by this library.

Implementation

const NotificationPermission(this.value);