value property
dynamic
get
value
Gets the value of the option according to its type.
Implementation
dynamic get value {
switch (_type.optionFormat) {
case OptionFormat.integer:
return intValue;
case OptionFormat.string:
return stringValue;
case OptionFormat.opaque:
case OptionFormat.unknown:
case OptionFormat.empty:
return null;
}
}