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