$Command class Null safety

Used by:

  • containeranalysis:v1 : Command
  • ondemandscanning:v1 : Command


$Command({List<String>? args, String? dir, List<String>? env, String? id, String? name, List<String>? waitFor})
$Command.fromJson(Map _json)


args List<String>?
Command-line arguments used when executing this command.
read / write
dir String?
Working directory (relative to project source root) used when running this command.
read / write
env List<String>?
Environment variables set before running this command.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String?
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
read / write
name String?
Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
waitFor List<String>?
The ID(s) of the command(s) that this command depends on.
read / write


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


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