error method

String error(
  1. String message
)

Display message in an error (red) format.

Implementation

String error(String message) => '$red$message$none';