utils/uid library
Functions
-
datetime(
) → String - Get the date string from DateTime.now(). '20240307112422357516'
-
randomNID(
{int length = 8, bool withTime = false}) → String - Get a random id consists by number.
-
randomUID(
{int length = 4, bool withTime = false}) → String - Get a random id consists by number and letters.
-
randomUUID(
) → String - Get a random UUID
-
timestamp(
) → String