from static method
Implementation
static LetterGrade from(Object? v) => switch (v) {
'a' => a,
'b' => b,
'c' => c,
'd' => d,
'f' => f,
_ => unknown,
};
static LetterGrade from(Object? v) => switch (v) {
'a' => a,
'b' => b,
'c' => c,
'd' => d,
'f' => f,
_ => unknown,
};