$Command class Null safety

Used by:

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

Constructors

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

Properties

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-onlyinherited
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-onlyinherited
waitFor List<String>?
The ID(s) of the command(s) that this command depends on.
read / write

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited