$Command.fromJson constructor
$Command.fromJson(
- Map json_
Implementation
$Command.fromJson(core.Map json_)
: this(
args: json_.containsKey('args')
? (json_['args'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
dir: json_.containsKey('dir') ? json_['dir'] as core.String : null,
env: json_.containsKey('env')
? (json_['env'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
waitFor: json_.containsKey('waitFor')
? (json_['waitFor'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);