toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "name": name,
      "sku": sku,
      "units": units,
      "selling_price": sellingPrice,
      "discount": discount,
      "tax": tax,
      "hsn": hsn,
    };