UuidUtils class

Constructors

UuidUtils()

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

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

Static Methods

getRandom(int num) → String
生成随机字符串
getUuid(int length) → String
获取UUID(组合版本)
getUuidV1() → String
获取uuid v1 基于当前时间生成的uuid 例如:6c84fb90-12c4-11e1-840d-7b25c5ee775a
getUuidV4() → String
获取uuid v4 基于mathRNG随机数生成的uuid 例如:110ec58a-a0f2-4ac4-8393-c866d813b8d1
getUuidV5(String content) → String
获取uuid v5