instance property

Location instance
getter/setter pair

Singleton instance of this class. Use it instead of the factory constructor to make it explicit that you're using a singleton, not creating a new Location instance each time.

Implementation

static Location instance = Location._();