collection constant

_$GithubUserModelCollectionQuery const collection

Query for collection.

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

Implementation

static const collection = _$GithubUserModelCollectionQuery();