fromHangul static method

WordGrade? fromHangul(
  1. String hangul
)

Implementation

static WordGrade? fromHangul(String hangul) =>
    values.firstWhereOrNull((level) => level.res == hangul);