ProductBook.fromJson constructor

ProductBook.fromJson(
  1. Map<String, dynamic> json
)

Creates a ProductBook from a JSON object.

Implementation

factory ProductBook.fromJson(Map<String, dynamic> json) {
  return ProductBook.fromMap(json['pricebook']);
}