decimalValue method
Returns the raw decimal value for fieldName, or null when the field
is null or cannot be converted to a decimal.
Unlike value, this typed helper does not apply the calculated-context decimal-null-as-zero convenience fallback. Use decimalOrZero when that fallback is desired explicitly.
Implementation
FdcDecimal? decimalValue(String fieldName) =>
decimalValueAt(_indexOf(fieldName));