getPublisher method
Get the list of books from a publisher
Implementation
Future<Publisher?> getPublisher(
String name, {
int page = 1,
int pageSize = 20,
}) async {
final response = await _get(
"publisher/$name",
queryParameters: <String, Object?>{
"page": page,
"pageSize": pageSize,
},
);
return Publisher.fromJson(response);
}