Total.fromJson constructor

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

Implementation

factory Total.fromJson(Map<String, dynamic> json) => Total(
      sales: json["sales"],
      orders: json["orders"],
      items: json["items"],
      tax: json["tax"],
      shipping: json["shipping"],
      discount: json["discount"],
      customers: json["customers"],
    );