parse static method

WeekDay parse(
  1. String value
)

Implementation

static WeekDay parse(String value) {
  return _converter.entries.firstWhere((element) => element.value == value).key;
}