from static method

NotificationAction? from(
  1. String value
)

Implementation

static NotificationAction? from(String value) {
  if (value == clicked.value) {
    return clicked;
  } else {
    return null;
  }
}