copyWith method

FloorInfo copyWith({
  1. LevelId? levelId,
  2. BuildingId? buildingId,
})

Implementation

FloorInfo copyWith({
  LevelId? levelId,
  BuildingId? buildingId
}) {
  return FloorInfo(
    levelId: levelId ?? this.levelId,
    buildingId: buildingId ?? this.buildingId
  );
}