DartCommonLaunchAttachRequestArguments class

A common base for DartLaunchRequestArguments and DartAttachRequestArguments for fields that are common to both.

Inheritance
Implementers

Constructors

DartCommonLaunchAttachRequestArguments({required Object? restart, required String? name, required String? cwd, required Map<String, String>? env, required List<String>? additionalProjectPaths, required bool? debugSdkLibraries, required bool? debugExternalPackageLibraries, bool? showGettersInDebugViews, bool? allowAnsiColorOutput, required bool? evaluateGettersInDebugViews, required bool? evaluateToStringInDebugViews, required bool? sendLogsToClient, bool? sendCustomProgressEvents = false})
DartCommonLaunchAttachRequestArguments.fromMap(Map<String, Object?> obj)

Properties

additionalProjectPaths List<String>?
Paths that should be considered the users local code.
final
allowAnsiColorOutput bool?
Whether to allow ansi color codes in OutputEvents. These may be used to highlight user code in stack traces.
final
cwd String?
final
debugExternalPackageLibraries bool?
Whether external package libraries should be marked as debuggable.
final
debugSdkLibraries bool?
Whether SDK libraries should be marked as debuggable.
final
env Map<String, String>?
Environment variables to pass to the launched process.
final
evaluateGettersInDebugViews bool?
Whether to eagerly evaluate getters in debug views like hovers and the variables list.
final
evaluateToStringInDebugViews bool?
Whether to call toString() on objects in debug views like hovers and the variables list.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
final
restart Object?
Optional data from the previous, restarted session. The data is sent as the 'restart' attribute of the 'terminated' event. The client should leave the data intact.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendCustomProgressEvents bool?
Whether to send custom progress events for long-running operations.
final
sendLogsToClient bool?
Whether to send debug logging to clients in a custom dart.log event. This is used both by the out-of-process tests to ensure the logs contain enough information to track down issues, but also by Dart-Code to capture VM service traffic in a unified log file.
final
showGettersInDebugViews bool?
Whether to show getters in debug views like hovers and the variables list.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

arg DebugAdapterArgumentReader
A reader for protocol arguments that throws detailed exceptions if arguments aren't of the correct type.
final