# setConvertedValue method

void setConvertedValue(

1. Object? convertedValue

)

Sets the converted value and marks the value as converted.

This method updates the `convertedValue` field and sets the `_converted` flag to true. It should be called after successful type conversion.

`convertedValue`: The converted value in its target type

Example:

    final cv = ConvertibleValue('3.14');
    cv.setConvertedValue(3.14);
    print(cv.convertedValue); // 3.14
    print(cv.converted); // true

## Implementation

    void setConvertedValue(Object? convertedValue) {
      _converted = true;
      this._convertedValue = convertedValue;
    }