Implementation
List<Asset> roomsHotel = [
Asset(
statusId: "Available",
assetName: "Room 1",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[0]),
Asset(
statusId: "Available",
assetName: "Room 2",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 3",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 4",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 5",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[2]),
Asset(
statusId: "Available",
assetName: "Room 6",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[2]),
Asset(
statusId: "Available",
assetName: "Room 7",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[2]),
Asset(
statusId: "Available",
assetName: "Room 8",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[3]),
Asset(
statusId: "Available",
assetName: "Room 9",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[3]),
Asset(
statusId: "Available",
assetName: "Room 10",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[4]),
Asset(
statusId: "Available",
assetName: "Room 11",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 12",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 13",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 14",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 15",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 16",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 17",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 18",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 19",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
Asset(
statusId: "Available",
assetName: "Room 20",
assetClassId: 'Hotel Room',
quantityOnHand: Decimal.parse("1"),
availableToPromise: Decimal.parse("1"),
product: productsHotel[1]),
];