fromJsonOrNull
Decodes a JSON string into a PolygonGeometry, or returns null if deserialization fails.
Return
The decoded PolygonGeometry, or null if the string could not be deserialized.
Parameters
json
The JSON string to decode.