toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "sales": sales,
      "orders": orders,
      "items": items,
      "tax": tax,
      "shipping": shipping,
      "discount": discount,
      "customers": customers,
    };