BookInfo class Null safety

Constructors

BookInfo({required String title, required String subtitle, required List<String> authors, required String publisher, required double averageRating, required List<String> categories, required String contentVersion, required String description, required List<IndustryIdentifier> industryIdentifiers, required Map<String, Uri> imageLinks, required String language, required String maturityRating, required int pageCount, required DateTime? publishedDate, required String rawPublishedDate, required int ratingsCount, required Uri previewLink, required Uri infoLink, required Uri canonicalVolumeLink})
const

Properties

authors List<String>
A list with the name of all the authors of the book
final
averageRating double
The average rating
final
The canonical volume link
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. [...]
read-only, override
Some image links
final
industryIdentifiers List<IndustryIdentifier>
The industryIdentifiers of the book (ISBN)
final
The volume info link
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
The volume preview link
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
rawPublishedDate String
The date the book was published in raw string format
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subtitle String
The book subtitle
final
title String
The book title
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Static Methods

fromJson(Map<String, dynamic> json, {bool reschemeImageLinks = false}) BookInfo