decode static method

PolygonAnnotationOptions decode(
  1. Object result
)

Implementation

static PolygonAnnotationOptions decode(Object result) {
  result as List<Object?>;
  return PolygonAnnotationOptions(
    geometry: result[0]! as Polygon,
    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?,
    fillZOffset: result[6] as double?,
  );
}