SaleInfo.fromJson constructor

SaleInfo.fromJson(
  1. Map<String, dynamic> map
)

Implementation

factory SaleInfo.fromJson(Map<String, dynamic> map) {
  return SaleInfo(
    country: map['country'] ?? '',
    saleability: map['saleability'] ?? '',
    isEbook: map['isEbook'] ?? false,
  );
}