isEditableWeight method Null safety
- dynamic orderedNutrient
Typical use-case: should we make the Unit
button clickable?
Implementation
static bool isEditableWeight(final OrderedNutrient orderedNutrient) =>
_getDefaultUnit(orderedNutrient.id) == null;