WorkspaceHookRunner constructor

WorkspaceHookRunner({
  1. required Logger logger,
  2. int maxOutputBytes = 4096,
  3. bool? isWindows,
})

Creates a hook runner. By default isWindows is read from Platform.isWindows.

Implementation

WorkspaceHookRunner({
  required this.logger,
  this.maxOutputBytes = 4096,
  bool? isWindows,
}) : isWindows = isWindows ?? Platform.isWindows;