addMeasure method Null safety

void addMeasure(
  1. Measure measure
)

Add a Measure to this task.

Implementation

void addMeasure(Measure measure) => measures.add(measure);