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