isEditableWeight method

bool isEditableWeight(
  1. Unit unit
)

Typical use-case: should we make the Unit button clickable?

Implementation

bool isEditableWeight(Unit unit) => _nextWeightUnits[unit] != null;