toGraphQLEnvironmentSurrogate

Converts an Environment to a EnvironmentSurrogate.

Return

a EnvironmentSurrogate representing the given Environment

Parameters

T

the concentration type

P

the position