fromJson static method

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

Implementation

static Impression fromJson(Map<String, dynamic> json) {
  return Impression(
      impressionListName: json['impressionListName'] as String,
      products: json['products'] as List<Product>);
}