The length of the time value in the TimeValue's unit.
double get duration { return _withThrowingErrorHandler((errorHandler) { return runtimecore.RT_TimeValue_getDuration(_handle, errorHandler); }); }