LiveBlock class

The output produced for one app, printed once the command finishes.

Constructors

LiveBlock()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
Whether nothing has been added.
no setter
lines → List<(LiveTone, String)>
The styled lines in this block.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String text, LiveTone tone) → void
Adds text styled with tone, without a leading symbol.
failure(String text) → void
Adds a failed action.
heading(String text) → void
Adds a heading.
json(Object? value) → void
Adds value as indented JSON.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
note(String text) → void
Adds secondary information.
plain(String text) → void
Adds regular text.
success(String text) → void
Adds a completed action.
table(List<String> headers, List<List<String>> rows) → void
Adds aligned columns with a dimmed header row.
toString() → String
A string representation of this object.
inherited
warning(String text) → void
Adds a warning.

Operators

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