forTesting property

  1. @override
bool forTesting
getter/setter pairoverride-getter

Flag indicating whether the operations are for testing purposes.

When true, uses FakeFirebaseFirestore instead of the real Firebase instance. Defaults to false.

Implementation

@override
bool forTesting = true;