WarningResult class
Successful but with a warning the user should see (exit code 0, but the
output's outcome is 'warning' so a pipeline can detect it).
- Inheritance
-
- Object
- CommandResult
- WarningResult
- Annotations
Constructors
Properties
-
data
→ Map<
String, Object?> -
Optional data payload.
final
- exitCode → int
-
The contract exit code this result maps to.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable warning message.
final
- outcome → String
-
One of
'success','error','warning'— drives the JSON$outcomefield.no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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