list property

List<BuildingModel> get list

custom getters to access automobile's list and object

Implementation

List<BuildingModel> get list => buildingData;