ElasticResponseMetaPage constructor
ElasticResponseMetaPage({})
Implementation
factory ElasticResponseMetaPage({
/// Number representing the current page of results.
required int current,
/// Number representing the results per page.
required int size,
/// Number representing the total pages of results.
/// Value is 0 when you paginate beyond 10,000 results.
///
/// See [https://www.elastic.co/guide/en/app-search/current/search-guide.html#search-guide-paginate]
@JsonKey(name: "total_pages") required int totalPages,
/// Number representing the total results across all pages.
///
/// The values 0 through 9999 are exact counts.
///
/// The value 10000 is a pseudo keyword representing greater than or equal to 10,000 results.
///
/// See [https://www.elastic.co/guide/en/app-search/current/search-guide.html#search-guide-display-total]
/// and [https://www.elastic.co/guide/en/app-search/current/search-guide.html#search-guide-count-documents]
@JsonKey(name: "total_results") required int totalResults,
}) = _ElasticResponseMetaPage;