stackTrace method

Null stackTrace({
  1. String? title,
  2. bool exit = false,
})

Prints the current stack trace for debugging.

Implementation

Null stackTrace({String? title, bool exit = false}) {
  if (title != null) logInfo(title);
  logInfo(StackTrace.current);
  if (exit) throw '';
}