callWith<R, U> method

R callWith<R, U>(
  1. Function fn,
  2. U value
)

Implementation

R callWith<R, U>(Function fn, U value) {
  return fn.callWith(parameters: [value], typeArguments: args) as R;
}