Closed
Description
I'm not sure why the CalcDictionary
members are all defined to be nullable and have null
default values. As there's no definition of the LengthValue.fromDictionary
method it's hard to tell. :-) But probably you just want:
dictionary CalcDictionary {
double px;
double percent;
...
};
and then in the definition of the fromDictionary
method (and the CalcLength
constructor) you can check whether a given dictionary member is present or not.