DEV Community

Discussion on: Dart getters and setters

Collapse
 
bastienjs profile image
bastienJS

vehicleAge should be renamed to _vehicleAge. It does not make sense to make it public like the age property...