Class Exportexport convertToParamMap(params: Params) : ParamMapConvert a Params instance to a ParamMap. exported from router/index defined in router/src/shared.ts