StatusHelper class abstract
Provides standardized status reporting with enhanced error messages.
StatusHelper offers consistent feedback mechanisms across all commands with support for actionable error messages, suggestions, and examples.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
failed(
String message, {String? suggestion, List< String> ? examples, bool isExit = true, int statusExit = 1}) → void - Reports operation failure with enhanced error information.
-
generated(
String path) → void - Reports successful file or directory generation.
-
refactor(
String path) → void - Reports successful refactoring operation.
-
success(
[String? message]) → void - Reports successful completion of an operation.
-
warning(
String message) → void - Reports a warning message.