Cache constructor
Cache()
Implementation
Cache({
Store? store,
this.dataIdFromObject,
this.typePolicies = const {},
this.possibleTypes = const {},
this.addTypename = true,
Map<OperationRequest, Map<String, Map<String, dynamic>?>>
seedOptimisticPatches = const {},
JsonEquals? jsonEquals,
}) : store = store ?? MemoryStore(),
_eventStream = BehaviorSubject.seeded(null),
optimisticPatchesStream = BehaviorSubject.seeded(seedOptimisticPatches),
jsonEquals = jsonEquals ?? jsonMapEquals;