static Arch? fromName(String? name) { for (final value in Arch.values) { if (value.name == name) return value; } return null; }