decode static method
Implementation
static PolygonAnnotationOptions decode(Object result) {
result as List<Object?>;
return PolygonAnnotationOptions(
geometry: result[0]! as Polygon,
fillConstructBridgeGuardRail: result[1] as bool?,
fillSortKey: result[2] as double?,
fillBridgeGuardRailColor: result[3] as int?,
fillColor: result[4] as int?,
fillOpacity: result[5] as double?,
fillOutlineColor: result[6] as int?,
fillPattern: result[7] as String?,
fillTunnelStructureColor: result[8] as int?,
fillZOffset: result[9] as double?,
isDraggable: result[10] as bool?,
customData:
(result[11] as Map<Object?, Object?>?)?.cast<String, Object>(),
);
}