StdoutReporter class
- Implemented types
- Implementers
Constructors
- StdoutReporter([MessageLevel logLevel = MessageLevel.verbose, bool? _supportsAnsiEscapes])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- logLevel → MessageLevel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsAnsiEscapes → bool
-
no setter
Methods
-
getColour(
MessageLevel level) → String -
message(
String message, MessageLevel level) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onException(
Object exception, StackTrace stackTrace) → Future< void> -
override
-
printMessage(
String message, [String? colour]) → void -
printMessageLine(
String message, [String? colour]) → void -
setWriteFn(
void fn(String text)) → void -
setWriteLineFn(
void fn(String text)) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kDebugColor → const String
- kFailColor → const String
- kNeutralColor → const String
- kPassColor → const String
- kResetColor → const String
- kWarnColor → const String