hasFloorIndex method

bool hasFloorIndex(
  1. int floorIndex
)

Check whether the building contains a floor with the floorIndex

Implementation

bool hasFloorIndex(int floorIndex) => _floors!.containsKey(floorIndex);