LiveOutcome class
The outcome of a live command on one app.
Constructors
- LiveOutcome(LiveApp app, LiveBlock block, {Object? result, String? error})
-
Creates a LiveOutcome for
app.const
Properties
- app → LiveApp
-
The app the command ran on.
final
- block → LiveBlock
-
The human-readable output.
final
- error → String?
-
Why the command failed, or null when it succeeded.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
Whether the command succeeded.
no setter
- result → Object?
-
The command's result payload.
final
- 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
-
toJson(
) → Map< String, Object?> -
The
--jsonrepresentation. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited