stack_trace_info 1.0.1 copy "stack_trace_info: ^1.0.1" to clipboard
stack_trace_info: ^1.0.1 copied to clipboard

Provides a simple yet powerful way to parse and extract detailed information from Dart stack traces.

stack_trace_info #

The stack_trace_info package provides a simple yet powerful way to parse and extract detailed information from Dart stack traces. This package helps developers retrieve file paths, line numbers, column numbers, class names, and method names from stack traces, facilitating easier debugging and error handling.

Getting started #

To start using the stack_trace_info package, add it to your pubspec.yaml:

dependencies:
  stack_trace_info: ^latest_version
void main() {
  final StackTraceInfo info = StackTraceInfo(trace: StackTrace.current);
  log(info.fileName);
}
2
likes
160
points
20
downloads

Publisher

verified publisheralexastudillo.com

Weekly Downloads

Provides a simple yet powerful way to parse and extract detailed information from Dart stack traces.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on stack_trace_info