Process.fromJson constructor
Process.fromJson(
- Map json_
Implementation
Process.fromJson(core.Map json_)
: this(
args: json_.containsKey('args')
? (json_['args'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
argumentsTruncated: json_.containsKey('argumentsTruncated')
? json_['argumentsTruncated'] as core.bool
: null,
binary: json_.containsKey('binary')
? File.fromJson(
json_['binary'] as core.Map<core.String, core.dynamic>)
: null,
envVariables: json_.containsKey('envVariables')
? (json_['envVariables'] as core.List)
.map((value) => EnvironmentVariable.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
envVariablesTruncated: json_.containsKey('envVariablesTruncated')
? json_['envVariablesTruncated'] as core.bool
: null,
libraries: json_.containsKey('libraries')
? (json_['libraries'] as core.List)
.map((value) => File.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
parentPid: json_.containsKey('parentPid')
? json_['parentPid'] as core.String
: null,
pid: json_.containsKey('pid') ? json_['pid'] as core.String : null,
script: json_.containsKey('script')
? File.fromJson(
json_['script'] as core.Map<core.String, core.dynamic>)
: null,
);