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