mock_cloud_firestore 0.0.20 copy "mock_cloud_firestore: ^0.0.20" to clipboard
mock_cloud_firestore: ^0.0.20 copied to clipboard

Easier way to mock cloud_firestore, without using `Firestore.channel.setMockMethodCallHandler`

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add mock_cloud_firestore

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

dependencies:
  mock_cloud_firestore: ^0.0.20

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:mock_cloud_firestore/mock_cloud_firestore.dart';
6
likes
40
pub points
6%
popularity

Publisher

unverified uploader

Easier way to mock cloud_firestore, without using `Firestore.channel.setMockMethodCallHandler`

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

cloud_firestore, flutter, mockito

More

Packages that depend on mock_cloud_firestore