Book class Null safety

Constructors

Book({required String id, String? etag, required BookInfo info, Uri? selfLink, required SaleInfo saleInfo})
const

Properties

etag String?
final
hashCode int
The hash code for this object.
read-only, inherited
id String
The id of the book
final
info BookInfo
The information about the book
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
saleInfo SaleInfo
The information about the book's sale info
final
A self link containing more especific information
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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, {bool reschemeImageLinks = false}) Book