fromParam<T> static method

FunctionParamWithValue fromParam<T>(
  1. FunctionParam param,
  2. T value
)

Implementation

static FunctionParamWithValue fromParam<T>(
  FunctionParam param,
  T value,
) {
  return FunctionParamWithValue<T>(
    value: value,
    name: param.name,
    type: param.type,
    indexed: param.indexed,
  );
}