version property

int version

与此 {@code UUID} 相关联的版本号. 版本号描述此 {@code UUID} 是如何生成的。

版本号具有以下含意: ```dart 1 基于时间的 UUID 2 DCE 安全 UUID 3 基于名称的 UUID 4 随机生成的 UUID ```

Implementation

int get version => (mostSigBits >> 12) & 0x0f;