getNotificationPermissionFromIndex function

NotificationPermission getNotificationPermissionFromIndex(
  1. int? index
)

Implementation

NotificationPermission getNotificationPermissionFromIndex(int? index) =>
    NotificationPermission.values[index ?? NotificationPermission.denied.index];