WorkspaceRunner class final
Constructors
-
WorkspaceRunner({required String id, required String target, required String sourcePackage, required String sourceAdapter, required String sourceCompatibilityId, required String runnerCompatibilityId, String? executable, List<
String> args = const [], List<String> evidenceTypes = const [], String kind = 'test', String? workingDirectory, String runnerMode = 'auto', int timeoutSeconds = 600, List<String> profiles = const [], bool hasProfileRestriction = false, Map<String, Object?> extensions = const {}}) -
const
-
WorkspaceRunner.fromMap(Map<
Object?, Object?> value) -
factory
Properties
-
args
→ List<
String> -
final
-
evidenceTypes
→ List<
String> -
final
- executable → String?
-
final
-
extensions
→ Map<
String, Object?> -
Unrecognized runner keys retained verbatim for forward compatibility.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasProfileRestriction → bool
-
final
- id → String
-
final
- kind → String
-
Execution kind. Defaults to
testwhen absent (historical behavior).final -
profiles
→ List<
String> -
Optional per-runner profile restriction. An explicitly empty YAML list
selects no profiles; an omitted restriction allows all profiles.
final
- runnerCompatibilityId → String
-
final
- runnerMode → String
-
Configured runner mode. Defaults to
auto; Flutter runners support overriding this value with CLI--runner-modeat launch time.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceAdapter → String
-
final
- sourceCompatibilityId → String
-
final
- sourcePackage → String
-
final
- target → String
-
final
- timeoutSeconds → int
-
Per-runner execution timeout. Defaults to 600 seconds (historical).
final
- workingDirectory → String?
-
Workspace-relative working directory. Null means the workspace root.
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