UpdateService constructor
const
UpdateService({
- CommandExecutor executor = const ProcessCommandExecutor(),
- Future<
void> onRestartAgent()?, - Future<
void> onStopAgent()?,
Creates an update service.
Implementation
const UpdateService({
this.executor = const ProcessCommandExecutor(),
this.onRestartAgent,
this.onStopAgent,
});