Implementation
static PolygonAnnotationOptions decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return PolygonAnnotationOptions(
geometry: (pigeonMap['geometry'] as Map<Object?, Object?>?)
?.cast<String?, Object?>(),
fillSortKey: pigeonMap['fillSortKey'] as double?,
fillColor: pigeonMap['fillColor'] as int?,
fillOpacity: pigeonMap['fillOpacity'] as double?,
fillOutlineColor: pigeonMap['fillOutlineColor'] as int?,
fillPattern: pigeonMap['fillPattern'] as String?,
);
}