city property

String? city
getter/setter pair

String city; is declaring a property named city of type String in the Poi class. This property will hold the city information of a Point of Interest (POI) object.

Implementation

String? city;