List<FxCountry> resolveFavoriteCountries(List<String> codes) => codes .map(FxCountries.byCode) .whereType<FxCountry>() .toList(growable: false);