Merchant class

An object which returns the details about a seller of a book on the web.

Annotations
  • @freezed

Constructors

Merchant({required String condition, required String merchant, @JsonKey(name: 'merchant_logo_offset') required Map merchantLogoOffset, required String shipping, required String price, required String total, required String link})
factory
Merchant.fromJson(Map<String, dynamic> json)
Used to build the object from the response of the ISBNdb API
factory

Properties

condition String
Not documented in the official API
no setterinherited
copyWith → $MerchantCopyWith<Merchant>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
Link to the purchase url
no setterinherited
merchant String
Name of the seller of the book
no setterinherited
URL of the merchant logo
no setterinherited
merchantLogoOffset Map
Not documented in the official API
no setterinherited
price String
Price of the book
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipping String
Shipping cost
no setterinherited
total String
Not documented in the official API
no setterinherited

Methods

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

Operators

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