Returns the first country that mach the given name.
Country? findByName(String? name) { return _countries.firstWhereOrNull((country) => country.name == name); }