SpawnedProcess class

A SpawnedProcess contains startup information of a spawned process.

Inheritance
Implemented types

Constructors

SpawnedProcess({@required int id, @required String name, @required int pid, @required int startedAt, @required List<String> arguments, @required String workingDirectory})

Properties

arguments List<String>
The list of arguments provided to the process at launch.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
The unique ID associated with this process.
final
json Map<String, dynamic>
read / write, inherited
name String
The name of the executable.
final
pid int
The process ID associated with the process.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startedAt int
The time the process was started in milliseconds since epoch.
final
type String
Every response returned by the VM Service has the type property. This allows the client distinguish between different kinds of responses.
read / write, inherited
workingDirectory String
The working directory of the process at launch.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

parse(Map json) SpawnedProcess
override