mock_firebase_functions

Last updated:

0 purchases

mock_firebase_functions Image
mock_firebase_functions Images
Add to Cart

Description:

mock firebase functions

Mock Firebase Functions #
Features #
This can be used to mock FirebaseFunctions calls. It is best used in conjunction with dependency injection.
Getting started #
Run flutter pub add mock_firebase_functions and you are good to go.
Usage #
final functions = MockFirebaseFunctions();
functions.mock('function1', (body) {
return 'Hello World';
});
final response = await functions.httpsCallable('function1').call({});
// response.result is 'Hello World'
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.