decode Environment Surrogate
fun <Error class: unknown class>.decodeEnvironmentSurrogate(env: String): EnvironmentSurrogate<Any, PositionSurrogate>
Decode the JSON string to an EnvironmentSurrogate using the EnvironmentSurrogate.polymorphicSerializer to deserialize the concentrations.
Return
the corresponding EnvironmentSurrogate.
Parameters
env
the String to decode.