firebase_rules_convert 0.1.2
firebase_rules_convert: ^0.1.2 copied to clipboard
A bridge to bring cloud_firestore_platform_interface types into firebase_rules
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add firebase_rules_convert
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
firebase_rules_convert: ^0.1.2
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:firebase_rules_convert/firebase_rules_convert.dart';