toJson method
The evidence projection of this command.
Implementation
Map<String, Object?> toJson() => {
'executable': executable,
'arguments': List<String>.unmodifiable(arguments),
'workingDirectory': workingDirectory.toJson(),
'environment': Map<String, String>.unmodifiable(environment),
'timeoutMs': timeout.inMilliseconds,
};