productsHotel top-level property
List<Product>
productsHotel
getter/setter pair
Implementation
List<Product> productsHotel = [
Product(
productName: 'Single Room',
description: 'The Single bed room',
productTypeId: productTypes[2], //rental
assetClassId: 'Hotel Room',
listPrice: Decimal.parse('60'),
price: Decimal.parse('50'),
categories: [Category(categoryName: "rooms")],
),
Product(
productName: 'Standard Room',
description: 'The Standard room',
productTypeId: productTypes[2], //rental
assetClassId: 'Hotel Room',
listPrice: Decimal.parse('90'),
price: Decimal.parse('80'),
categories: [Category(categoryName: "rooms")],
),
Product(
productName: 'Deluxe Room',
description: 'The Deluxe room offering',
productTypeId: productTypes[2], //rental
assetClassId: 'Hotel Room',
listPrice: Decimal.parse('180'),
price: Decimal.parse('170'),
categories: [Category(categoryName: "rooms")],
),
Product(
productName: 'Suite',
description: 'The Suite',
productTypeId: productTypes[2], //rental
assetClassId: 'Hotel Room',
listPrice: Decimal.parse('380'),
price: Decimal.parse('360'),
categories: [Category(categoryName: "rooms")],
),
Product(
productName: 'Appartment',
description: 'The living, two bedroom appartment',
productTypeId: productTypes[2], //rental
assetClassId: 'Hotel Room',
listPrice: Decimal.parse('480'),
price: Decimal.parse('460'),
categories: [Category(categoryName: "rooms")],
),
];