Status class
A plugin's whole state reduced to one line.
This is what the sidebar row, the worktree switcher, fw status and an
agent all read. It is deliberately tiny: a tone and a short human message.
A phrase, never a log line. Every renderer gives this one line and a
hundred-odd pixels, so past that it ellipsises and the rest is only a
hover away. A plugin that forwarded a runner's console here — the whole
[tester] flutterware previews harness ready — 133 entries, fonts: … —
got a row saying [tester] flutterw…, which is neither the status nor
news. Say the phase, and leave the line in the log.
Constructors
- Status(Tone tone, String message)
-
const
- Status.error(String message)
-
const
- Status.good(String message)
-
const
- Status.info(String message)
-
const
- Status.neutral(String message)
-
const
- Status.warn(String message)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override