update method

void update(
  1. PolylineOptions options
)

Updates the options of the wrapped gmaps.Polyline object.

This cannot be called after remove.

Implementation

void update(gmaps.PolylineOptions options) {
  assert(
      _polyline != null, 'Cannot `update` Polyline after calling `remove`.');
  _polyline!.options = options;
}