decode static method

PolygonAnnotationOptions decode(
  1. Object result
)

Implementation

static PolygonAnnotationOptions decode(Object result) {
  result as List<Object?>;
  return PolygonAnnotationOptions(
    geometry: Polygon.decode(result[0]! as List<Object?>),
    fillSortKey: result[1] as double?,
    fillColor: result[2] as int?,
    fillOpacity: result[3] as double?,
    fillOutlineColor: result[4] as int?,
    fillPattern: result[5] as String?,
  );
}