collection constant

_$PurchaseUserModelCollectionQuery const collection

Query for collection.

appRef.model(PurchaseUserModel.collection());       // Get the collection.
ref.app.model(PurchaseUserModel.collection())..load();  // Load the collection.
ref.app.model(
  PurchaseUserModel.collection().equal(
    PurchaseUserModelCollectionKey.xxx,
    "data",
  ),
)..load(); // Load the collection with filter.

Implementation

static const collection = _$PurchaseUserModelCollectionQuery();