FunctionParamWithValue<T>.fromJson constructor
- Map map
Implementation
factory FunctionParamWithValue.fromJson(Map map) {
final type = FunctionParamType.fromString(map['type']);
return FunctionParamWithValue(
value: type.valueFromJson(map['value']),
name: map['name'],
indexed: map['indexed'] as bool? ?? false,
type: type,
);
}