RandomBuilder class

Constructors

RandomBuilder()

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

build() String
Generate a random password based on this builder's parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSymbols(List<String> symbols) → void
Set what symbols to use. Default is ['@', '!', '%', '*', '(', ')', ',', '.', '?', '/', ';', '<', '>'].
toString() String
A string representation of this object.
inherited
withLength(int length) → void
Set the length of the generated string. Default is 16.
withLowercase([bool value = true]) → void
Set whether to use lowercase letters from 'a' to 'z'. Default is true.
withNumeric([bool value = true]) → void
Set whether to use numbers from '0' to '9'. Default is true.
withSymbols([bool value = true]) → void
Set whether to use symbols. Default is true.
withUppercase([bool value = true]) → void
Set whether to use uppercase letters from 'A' to 'Z'. Default is true.

Operators

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