PubResult class final

What a pub get run printed, and whether it worked.

Constructors

PubResult(int exitCode, String stdout, String stderr, {String command = ''})
A run that exited with exitCode.
const

Properties

command → String
The command, for the log.
final
exitCode → int
The exit code; 0 is success.
final
hashCode → int
The hash code for this object.
no setterinherited
ok → bool
Whether it succeeded.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stderr → String
What it printed as errors.
final
stdout → String
What it printed.
final
summary → String
The lines worth showing a user: pub's errors, else its last lines.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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