For example:
void building(int doors, bool multi_story) {...}
or
void building(int doors = 1, bool multi_story = false) {...}
Therefore:
new building(4, true);
new building(1, false);
or
new building(doors: 4, multi_story: true);
new building();
Thease things work well with nullable 'type?' as well. However it would be nice to do able to do this.
new building(doors: 4, multi_story:); // thanks SLaks for the correction
To mean "everything is default except -> has 4 doors and is multi-story". Removing the one word "true" is only a little thing but is it possible to simulate this?