GraphQLCache constructor
GraphQLCache({})
Implementation
GraphQLCache({
Store? store,
this.dataIdFromObject,
this.typePolicies = const {},
this.possibleTypes = const {},
this.partialDataPolicy = PartialDataCachePolicy.acceptForOptimisticData,
Object? Function(Object?) sanitizeVariables = sanitizeFilesForCache,
}) : sanitizeVariables = variableSanitizer(sanitizeVariables),
store = store ?? InMemoryStore();