projectPaths property

List<String> projectPaths
latefinal

A list of all possible project paths that should be considered the users own code.

This is made up of the folder containing the 'program' being executed, the 'cwd' and any 'additionalProjectPaths' from the launch arguments.

Implementation

late final List<String> projectPaths = [
  args.cwd,
  if (args is DartLaunchRequestArguments)
    path.dirname((args as DartLaunchRequestArguments).program),
  ...?args.additionalProjectPaths,
].nonNulls.toList();