fromValue static method

NotificationDirection fromValue(
  1. String value
)

Implementation

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