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.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → int
The unique ID associated with this process.
final
json ↔ Map<String, dynamic>?
getter/setter pairinherited
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.
no setterinherited
startedAt → int
The time the process was started in milliseconds since epoch.
final
type → String
no setteroverride
workingDirectory → String
The working directory of the process at launch.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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<String, dynamic>? json) → SpawnedProcess?
override