backend<T extends ZorphyEntityBase<Object?>> method

ZfaBackend<T> backend<T extends ZorphyEntityBase<Object?>>()

A mock-first partition over this store for entity type T (v8, ZFA-014).

The ZfaBackend is a thin view that seeds, queries, upserts and patches the same per-type bucket the store owns — a Mock<Entity>DataSource reads and writes through it with zero standalone maps, so a mutation is immediately visible to the next query (query visibility only; reactive push is a later layer's concern) and to any other backend over the same type.

final backend = store.backend<Product>();
backend.seed(ProductMockData.list(count: 10));

Implementation

ZfaBackend<T> backend<T extends ZorphyEntityBase<Object?>>() =>
    ZfaBackend<T>(this, _registry);