createIntProperty method Null safety
Short hand helper function for initializing an EmpireIntProperty.
See EmpireProperty for propertyName
usages.
Example
late final EmpireIntProperty age;
age = createIntProperty(20);
Implementation
EmpireIntProperty createIntProperty(int value, {String? propertyName}) {
return EmpireIntProperty(value, this, propertyName: propertyName);
}