collectionGroupRef<T extends StoreEntity> method

CollectionGroup<T, Doc<T>> collectionGroupRef <T extends StoreEntity>(
  1. String path
)

Implementation

CollectionGroup<T, Doc<T>> collectionGroupRef<T extends StoreEntity>(String path) => CollectionGroup<T, Doc<T>>(
      path: path,
      decoder: (snapshot) => _decode<T>(snapshot),
      encoder: (entity) => entity.encode(),
    );