fromMap static method
Implementation
static SettingsGeneralSettingsItemUpdatedProduct? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return SettingsGeneralSettingsItemUpdatedProduct(
allowItemSellMultiQuantity:
readText(source['allow_item_sell_multi_quantity']),
allowPlanSellMultiQuantity:
readText(source['allow_plan_sell_multi_quantity']),
allowProductSellMultiQuantity:
readText(source['allow_product_sell_multi_quantity']),
allowRateSellMultiQuantity:
readText(source['allow_rate_sell_multi_quantity']),
itemQuantityUse: readText(source['item_quantity_use']),
planQuantityUse: readText(source['plan_quantity_use']),
productQuantityUse: readText(source['product_quantity_use']),
rateQuantityUse: readText(source['rate_quantity_use']),
);
}