totalSodium property
double
get
totalSodium
Retrieves the total sodium content in the food record based on the selected serving size.
Implementation
double get totalSodium {
return nutrientsSelectedSize().sodium?.value ?? 0;
}