error static method

void error(
  1. Object? arg
)

Implementation

static void error(Object? arg) {
  console.error(arg?.toString().toJS);
}