fromIndex static method

NotificationPermission fromIndex(
  1. int? index
)

Implementation

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