consoleError static method
- Object? object
Prints a string representation of the provided object
to the console as
an error.
Implementation
static void consoleError(Object? object) {
// ignore: avoid_print
print('\x1B[31m$object\x1B[0m');
}
Prints a string representation of the provided object
to the console as
an error.
static void consoleError(Object? object) {
// ignore: avoid_print
print('\x1B[31m$object\x1B[0m');
}