speedChanged method Null safety

void speedChanged(
  1. double from,
  2. double to
)

Implementation

void speedChanged(double from, double to);