getByValue static method

BroadcastEventType? getByValue(
  1. String value
)

Implementation

static BroadcastEventType? getByValue(String value) {
  return BroadcastEventType.values.firstWhere((x) => x.value == value);
}