stockStatus property
String
get
stockStatus
Get stock status
Implementation
String get stockStatus {
if (isOutOfStock) return 'Out of Stock';
if (isLowStock) return 'Low Stock';
return 'In Stock';
}