onGreen method Null safety

String onGreen()

Format this string with ANSI adding a green background color.

Returns default string if ANSI is not supported.

Implementation

String onGreen() => format(42, 49)(this);