magenta method Null safety

String magenta(
  1. String? text
)

Implementation

static String magenta (String? text) => '\x1B[35m$text\x1B[0m';