BookQueryResult constructor

BookQueryResult({
  1. required int total,
  2. @Default.new([]) List<Book> books,
})

Implementation

factory BookQueryResult({
  /// The number of results for this query
  required int total,

  /// The list of the books matching the query
  @Default([]) List<Book> books,
}) = _BookQueryResult;