initialize method
Configure and initialize the executor before using it.
Implementation
@override
@nonVirtual
void initialize(TConfig configuration, [SmartphoneDeployment? deployment]) {
info('Initializing $this [$hashCode] - $configuration');
_deployment = deployment;
_configuration = configuration;
try {
_stateMachine.initialize();
} catch (error) {
addError('Error initializing $this: $error');
_setState(_UndefinedState(this));
}
}