DEV Community

Discussion on: The Builder Pattern in Java, and Dart Cascades

Collapse
 
aikar profile image
Daniel Ennis

Even better solution: Allow cascade operators on final parameters during object instantiation as shown in the example and map that to the initialized and final value.