evictOperation method

Future<void> evictOperation(
  1. OperationRequest request
)

evicts to top level selections from the cache e.g. a query like

 query GetPerson {
    person(id: "1") {
       id
       name
    }
 }

would evict the field Query->person({id:"1"}) Consider calling gcCache() after this to remove orphaned data

Implementation

Future<void> evictOperation(OperationRequest request) {
  return _handleSingleResponseCommand(
      (sendPort) => EvictOperationCommand(sendPort, request));
}