tingyun_flutter_plugin 2.2.2-dev.1 tingyun_flutter_plugin: ^2.2.2-dev.1 copied to clipboard
The Tingyun Flutter plugin helps auto-instrument your Flutter app with Tingyun Agent for Android and iOS. It also provides an API to add manual instrumentation.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add tingyun_flutter_plugin
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
tingyun_flutter_plugin: ^2.2.2-dev.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tingyun_flutter_plugin/tingyun_flutter_plugin.dart';