getBooksFromISBNs method
Get book details from a list of ISBNs
Implementation
Future<BookQueryResult> getBooksFromISBNs(List<String> isbns) async {
final response = await _post(
"books",
queryParameters: <String, Object?>{
"isbns": isbns,
},
);
return BookQueryResult(
total: response['total'],
books: response['books'].map(
(json) => Book.fromJson(json),
),
);
}