getNullableDecimalProperty method
Implementation
Property<Decimal?> getNullableDecimalProperty(
String name, {
Decimal? Function() defaultValue = defaultNullableDecimal,
bool isImmutable = true,
}) {
return getNullableProperty<Decimal>(
name,
(s) => Decimal.tryParse(s) ?? defaultDecimal(),
defaultValue,
isImmutable: isImmutable,
);
}