replaceVariables

Replace variables and return the result.

Return

instance with substituted variables

Parameters

mapping

maps variables names to their values