firestore_size 1.0.0 copy "firestore_size: ^1.0.0" to clipboard
firestore_size: ^1.0.0 copied to clipboard

A tiny package to calculate the approximate size (in bytes) of a Firestore document.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add firestore_size

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  firestore_size: ^1.0.0

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:firestore_size/firestore_size.dart';
2
likes
110
pub points
67%
popularity

Publisher

verified publisherbirju.dev

A tiny package to calculate the approximate size (in bytes) of a Firestore document.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

cloud_firestore, flutter, intl

More

Packages that depend on firestore_size