toGraphQLEnvironmentSurrogate
fun <T, P : Position<out P>> Environment<T, P>.toGraphQLEnvironmentSurrogate(): EnvironmentSurrogate<T, P>(source)
Converts an Environment to a EnvironmentSurrogate.
Return
a EnvironmentSurrogate representing the given Environment
Parameters
T
the concentration type
P
the position