roomReservations top-level property

List<FinDoc> roomReservations
getter/setter pair

Implementation

List<FinDoc> roomReservations = [
  FinDoc(
      docType: FinDocType.order,
      sales: true,
      otherUser: customers[0],
      items: [
        FinDocItem(
            description: productsHotel[0].productName,
            rentalFromDate: DateTime.now(),
            quantity: Decimal.parse('1')) // nbr of days
      ]),
];