error static method

dynamic error(
  1. Object exception,
  2. StackTrace stackTrace
)

Implementation

static error(Object exception, StackTrace stackTrace) {
  print(error);
  print(stackTrace);
}