slingshot 1.0.3
slingshot: ^1.0.3 copied to clipboard
The vertical contract shared by every driver package of the slingshot family: the transaction lifecycle, the repository interface, the error types, and the native library resolver. Carries no driver a [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add slingshotThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
slingshot: ^1.0.3Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:slingshot/slingshot.dart';