getPrintable method
The message to be printed out.
The useColor
argument should be used to determine whether to use color
or any other styling in the returned Object.
Implementation
@override
Object getPrintable(bool useColor) {
return useColor ? colorize(message.toString(), color) : message;
}