createBoolProperty method Null safety
Short hand helper function for initializing an EmpireBoolProperty.
See EmpireProperty for propertyName
usages.
Example
late final EmpireBoolProperty isAwesome;
isAwesome = createBoolProperty(true);
Implementation
EmpireBoolProperty createBoolProperty(bool value, {String? propertyName}) {
return EmpireBoolProperty(value, this, propertyName: propertyName);
}