AutoUpdaterController constructor

AutoUpdaterController({
  1. required String appVersion,
  2. required String packageUrl,
  3. required String configHomeDir,
  4. String? userType,
  5. bool isRunningWithBun = false,
  6. Future<ProcessResult> execCommand(
    1. String executable,
    2. List<String> arguments, {
    3. String? workingDirectory,
    })?,
})

Implementation

AutoUpdaterController({
  required this.appVersion,
  required this.packageUrl,
  required this.configHomeDir,
  this.userType,
  this.isRunningWithBun = false,
  Future<ProcessResult> Function(
    String executable,
    List<String> arguments, {
    String? workingDirectory,
  })?
  execCommand,
}) : _execCommand = execCommand;