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