Runs the transform registered for handle, or returns factor unchanged once that handle is gone.
handle
factor
static double transform(int handle, double factor) => _transforms[handle]?.call(factor) ?? factor;