BusinessStatus$cast function
Implementation
BusinessStatus? BusinessStatus$cast(value) {
if (value == BusinessStatus.CLOSED_PERMANENTLY)
return BusinessStatus.CLOSED_PERMANENTLY;
if (value == BusinessStatus.CLOSED_TEMPORARILY)
return BusinessStatus.CLOSED_TEMPORARILY;
if (value == BusinessStatus.OPERATIONAL) return BusinessStatus.OPERATIONAL;
return null;
}