toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "current_price": currentPrice,
      "sales_price": salesPrice,
      "on_sales": onSales,
      "supplier_price": supplierPrice,
      "markup": markup,
    };