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