UpdateService constructor

const UpdateService({
  1. CommandExecutor executor = const ProcessCommandExecutor(),
  2. Future<void> onRestartAgent()?,
  3. Future<void> onStopAgent()?,
})

Creates an update service.

Implementation

const UpdateService({
  this.executor = const ProcessCommandExecutor(),
  this.onRestartAgent,
  this.onStopAgent,
});