unit property

TimeUnit unit

The unit of the time value.

Implementation

TimeUnit get unit {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TimeValue_getUnit(_handle, errorHandler);
  });
  return TimeUnit._fromCoreValue(coreValue);
}