restart method Null safety
Restart the probe.
This forces the probe to reload its configuration from its Measure and restart sampling accordingly. If a new measure is to be used, this new measure must be specified in the initialize method before calling restart.
This methods is used when sampling configuration is adapted, e.g. as part of the power-awareness.
void restart() => _stateMachine.restart();