AuthorQueryResult constructor

AuthorQueryResult({
  1. required int total,
  2. @JsonKey.new(readValue: _readAuthorNames) @Default.new([]) List<String> authors,
})

Implementation

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

  /// The list of the authors matching the query
  @JsonKey(readValue: _readAuthorNames) @Default([]) List<String> authors,
}) = _AuthorQueryResult;