sensitive 1.0.1
sensitive: ^1.0.1 copied to clipboard
Analyzer plugin that keeps secrets out of logs. A value annotated with @Sensitive must not be interpolated, stringified, logged, or put into an exception message.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add sensitiveWith Flutter:
$ flutter pub add sensitiveThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
sensitive: ^1.0.1Alternatively, 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:sensitive/sensitive.dart';