firebase_js_interop 0.0.4 firebase_js_interop: ^0.0.4 copied to clipboard
Wrappers and tools for composing Firebase Cloud Functions in the Dart language
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add firebase_js_interop
With Flutter:
$ flutter pub add firebase_js_interop
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
firebase_js_interop: ^0.0.4
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:firebase_js_interop/admin.dart';
import 'package:firebase_js_interop/build.dart';
import 'package:firebase_js_interop/converters.dart';
import 'package:firebase_js_interop/express.dart';
import 'package:firebase_js_interop/extensions.dart';
import 'package:firebase_js_interop/functions.dart';
import 'package:firebase_js_interop/js.dart';
import 'package:firebase_js_interop/node.dart';
import 'package:firebase_js_interop/typescript.dart';