FakeFirebaseFirestore constructor
FakeFirebaseFirestore({})
Implementation
FakeFirebaseFirestore({
Stream<Map<String, dynamic>?>? authObject,
String? securityRules,
Clock? clock,
}) : securityRules =
FakeFirebaseSecurityRules(securityRules ?? allowAllDescription),
_clock = clock ?? Clock() {
// Wrap the Stream in a BehaviorSubject to access its latest value on
// demand.
authObject?.listen(this.authObject.add);
_setupFieldValueFactory();
}