fromValue static method

NotificationPermission fromValue(
  1. String value
)

Implementation

static NotificationPermission fromValue(String value) =>
    values.firstWhere((e) => e.value == value);