BookInfo class

Constructors

BookInfo({required String title, required List<String> authors, required String publisher, required double averageRating, required List<String> categories, required String contentVersion, required String description, required Map<String, Uri> imageLinks, required String language, required String maturityRating, required int pageCount, required DateTime publishedDate, required int ratingsCount})
const

Properties

authors List<String>
A list with the name of all the authors of the book
final
averageRating double
The average rating
final
categories List<String>
The categories the book is in
final
contentVersion String
The content version
final
description String
The description of the book
final
hashCode int
The hash code for this object.
no setterinherited
Some image links
final
language String
The original language of the book
final
maturityRating String
Wether the book is mature or not
final
pageCount int
The amount of pages the book has
final
publishedDate DateTime
The date the book was published
final
publisher String
The publisher name
final
ratingsCount int
How many people rated the book
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The book title
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) BookInfo