printMagenta function

void printMagenta(
  1. String text
)

Implementation

void printMagenta(String text) {
  print('\x1B[35m$text\x1B[0m');
}