setSamplingState method
Sets the sampling state to restore on the next resume.
E.g. the state saved before the app was restarted.
Does not change the current samplingState, which is always computed from
the running executors.
Implementation
void setSamplingState(SmartphoneDeploymentExecutorSamplingState? samplingState) => _samplingState = samplingState;