Polyline class
Represents a polyline on the map. A polyline is a list of points, where line segments are drawn between consecutive points. The polyline can be styled with a color, width, and alpha value.
Constructors
-
Polyline.new({int? id, required List<
LatLng> points, Color? color, double? width, double? alpha}) - Each polyline must have at least two points.
-
Polyline.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited