list property

List<AutomobileModel> get list

custom getters to access automobile's list and object

Implementation

List<AutomobileModel> get list => autoMobileData;