add method Null safety

void add(
  1. dynamic orderedNutrient
)

To be used when an OrderedNutrient is added to the input list

Implementation

void add(final OrderedNutrient orderedNutrient) =>
    _added.add(orderedNutrient.id);