FRandom class

依赖uuid

Constructors

FRandom.new()

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

autoV4Uuid() String?
随机生成一个v4版本的uuid
getR(int x) int
在[0,x)之间获得随机数,如果想从1开始,那对结果+1即可