nmTaxSaleStatusLabel function
Localized label of a tax sale status code; unknown codes are shown as given.
Implementation
String nmTaxSaleStatusLabel(NmRealEstateL10n l, String code) => switch (NmTaxSaleStatus.parse(code)) {
NmTaxSaleStatus.upcoming => l.auctionUpcoming,
NmTaxSaleStatus.open => l.auctionOpen,
NmTaxSaleStatus.closed => l.auctionClosed,
null => code,
};