how to create getter and setter in dart code example
Example: dart getter
int get age => 21;
void set age(int currentYear) =>
vehicleAge = currentYear - manufactureYear;
int get age => 21;
void set age(int currentYear) =>
vehicleAge = currentYear - manufactureYear;