openStreetMapsUrl property

String get openStreetMapsUrl

Returns the full OpenStreetMap URL for this Maps object.

The returned URL is generated by concatenating the openStreetMapsPrefix and the openStreetMaps field of this object.

Example usage:

final maps = Maps(googleMaps: "abcdefg", openStreetMaps: "123456789");
print(maps.openStreetMapsUrl); // Output: "https://www.openstreetmap.org/123456789"

Implementation

String get openStreetMapsUrl => Maps.openStreetMapsPrefix + openStreetMaps;