Nanoid class

Nano ID generator.

Constructors

Nanoid()
const

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

custom({required int length, required String charSet}) String
Generate an ID using a custom charSet.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
urlSafe({int length = 21, String excludedCharSet = ''}) String
Generate an ID using the standard URL-safe Base64 charset.
urlSafeHumanFriendly({int length = 21, String excludedCharSet = ''}) String
Generate an ID using a human-friendly URL-safe charset.

Operators

operator ==(Object other) bool
The equality operator.
inherited