Converts the PowerGeoLineString instance to a map.
Returns a map representation of the PowerGeoLineString.
Map<String, dynamic> toMap() { return <String, dynamic>{'geometry': geometry.toMap()}; }