source_map_stack_trace 2.1.1 copy "source_map_stack_trace: ^2.1.1" to clipboard
source_map_stack_trace: ^2.1.1 copied to clipboard

A package for applying source maps to stack traces.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add source_map_stack_trace

With Flutter:

 $ flutter pub add source_map_stack_trace

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  source_map_stack_trace: ^2.1.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:source_map_stack_trace/source_map_stack_trace.dart';