googleMapsUrl property

String get googleMapsUrl

Returns the full Google Maps URL for this Maps object.

The returned URL is generated by concatenating the googleMapsPrefix and the googleMaps field of this object.

Example usage:

final maps = Maps(googleMaps: "abcdefg", openStreetMaps: "123456789");
print(maps.googleMapsUrl); // Output: "https://goo.gl/maps/abcdefg"

Implementation

String get googleMapsUrl => Maps.googleMapsPrefix + googleMaps;