onMagenta method Null safety

String onMagenta()

Format this string with ANSI adding a magenta background color.

Returns default string if ANSI is not supported.

Implementation

String onMagenta() => format(45, 49)(this);