google_sign_in_mocks 0.3.0 google_sign_in_mocks: ^0.3.0 copied to clipboard
Mocks for Google Sign In. Use this package with `firebase_auth_mocks` to write unit tests involving Firebase Authentication.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add google_sign_in_mocks
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
google_sign_in_mocks: ^0.3.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:google_sign_in_mocks/google_sign_in_mocks.dart';