decode static method

PolygonAnnotation decode(
  1. Object result
)

Implementation

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