prefetchedData property

List<$ActiveDataclass>? get prefetchedData

Prefetched data, if references with prefetching enabled were added to this manager

E.G.

final (group,refs) = await groups.withReferences((prefetch) => prefetch(users: true)).getSingle();
final users = refs.users.prefetchedData;
/// For references which were not prefetched, this field will be null
final users = refs.admin.prefetchedData; // Returns null

Implementation

List<$ActiveDataclass>? get prefetchedData => $state.prefetchedData;