collection constant

_$PurchaseSubscriptionModelCollectionQuery const collection

Query for collection.

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

Implementation

static const collection = _$PurchaseSubscriptionModelCollectionQuery();