SpawnedProcess class Null safety

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-onlyinherited
id int
The unique ID associated with this process.
final
json Map<String, dynamic>?
read / writeinherited
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-onlyinherited
startedAt int
The time the process was started in milliseconds since epoch.
final
type String
read-onlyoverride
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<String, dynamic>? json) SpawnedProcess?
override