decode static method
- Object result
Implementation
static PolygonAnnotation decode(Object result) {
result as List<Object?>;
return PolygonAnnotation(
id: result[0]! as String,
geometry: Polygon.decode(result[1]! as List<Object?>),
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?,
);
}