collection constant

_$GithubCommitModelCollectionQuery const collection

Query for collection.

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

Implementation

static const collection = _$GithubCommitModelCollectionQuery();