value property
dynamic
value
DAAP object value getter.
Return corresponding data type value.
Implementation
dynamic get value {
switch (code.type) {
case byte:
return _value__byte;
case unsignedByte:
return _value__unsignedByte;
case short:
return _value__short;
case unsignedShort:
return _value__unsignedShort;
case integer:
return _value__integer;
case unsignedInteger:
return _value__unsignedInteger;
case long:
return _value__long;
case unsignedLong:
return _value__unsignedLong;
case string:
return _value__string;
case timestamp:
return _value__timestamp;
case version:
return _value__version;
case container:
return _value__container;
}
throw DmapDecodeException("Unknown DMAP code type: '${code.type}'.");
}