collection constant
_$FavoriteModelCollectionQuery
const collection
Query for collection.
appRef.model(FavoriteModel.collectoin()); // Get the collection.
ref.model(FavoriteModel.collection())..load(); // Load the collection.
ref.model(
FavoriteModel.collection().data.equal(
"data",
),
)..load(); // Load the collection with filter.
Implementation
static const collection = _$FavoriteModelCollectionQuery();