UUIDUtils class
Constructors
- UUIDUtils.new()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCache(
) → void - 清空缓存(可选)
-
generateV1(
) → String - 生成 UUID v1(基于时间)
-
generateV4(
) → String - 生成 UUID v4(基于随机数,常用)
-
generateV5(
String namespace, String name) → String - 生成 UUID v5(基于命名空间和名称的哈希值) 让某个字符串生成一个 可预测、唯一且跨系统一致 的 UUID
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited