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