fromString static method
Implementation
static CheckResult fromString(String s) => switch (s) {
"notAvailable" => notAvailable,
"pass" => pass,
"fail" => fail,
_ => notAvailable,
};
static CheckResult fromString(String s) => switch (s) {
"notAvailable" => notAvailable,
"pass" => pass,
"fail" => fail,
_ => notAvailable,
};