Returns the first currency that mach the given name.
Currency? findByName(String? name) { return _currencies.firstWhereOrNull((currency) => currency.name == name); }