Map<String, dynamic> to_json() { return { 'product_id': product_id, 'enabled': enabled, 'quantity_remaining': quantity_remaining, }; }