tryMoney method
Implementation
Money? tryMoney(String name, Currency currency) {
final value = tryInt(name);
if (value == null) {
return null;
}
return Money.fromIntWithCurrency(value, currency);
}
Money? tryMoney(String name, Currency currency) {
final value = tryInt(name);
if (value == null) {
return null;
}
return Money.fromIntWithCurrency(value, currency);
}