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