Param.withContext(context, [ double value = 0.0 ])

Creates a new Param with the specified constant value that is tied to some object outside the solver.

Source

Param.withContext(dynamic context, [double value = 0.0])
  : variable = new Variable(value),
    context = context {
  variable._owner = this;
}