collection constant

_$VectorModelCollectionQuery const collection

Query for collection.

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

Implementation

static const collection = _$VectorModelCollectionQuery();