$error method

void $error({
  1. Object? msg,
  2. String? tag,
  3. StackTrace? stackTrace,
  4. int level = 2,
})

Implementation

void $error({
  Object? msg,
  String? tag,
  StackTrace? stackTrace,
  int level = 2,
}) {
  e(
    msg: msg,
    tag: tag,
    error: this,
    stackTrace: stackTrace,
    level: level,
  );
}