fromValue static method

EndingType fromValue(
  1. String value
)

Implementation

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