duration property

String duration
getter/setter pair

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

Implementation

String duration;