fromParam<T> static method
- FunctionParam param,
- 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,
);
}