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