ConvertToValue method
Implementation
Object? ConvertToValue(String? stringValue) {
try {
return Parse(stringValue);
} on FormatException {
throw ServiceXmlDeserializationException(
"The value '$stringValue' couldn't be converted to type $Type.",
);
} on ArgumentException {
throw ServiceXmlDeserializationException(
"The value '$stringValue' couldn't be converted to type $Type.",
);
}
}