HumanIdGenOptions class

Options for HumanIdGen.

Constructors

HumanIdGenOptions({String separator = defaultSeparator, Map<String, String>? replaces, List<String>? removes, bool squeezeRepeated = true, bool trimSpacesInSource = true, bool trimSeparatorsInSource = true, bool lowerCase = false, bool upperCase = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
lowerCase bool
After processing the source will be transform to lowercase.
final
removes List<String>
These strings will be removed. Doing it after processed replaces. Case sensitivity.
latefinal
replaces Map<String, String>
These strings will be replaces. Doing it before processed removes. Case sensitivity.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separator String
final
squeezeRepeated bool
Will replace a sequence of defaultReplaces characters to single character. Do it after processed replaces and removes.
final
trimSeparatorsInSource bool
After processing the source will be trimmed.
final
trimSpacesInSource bool
After processing the source will be trimmed.
final
upperCase bool
After processing the source will be transform to lowercase.
final

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 Properties

defaultLangReplaces Map<String, String>
Replaces for all supported languages.
final
defaultReplaces Map<String, String>
Case sensitivity.
final

Constants

defaultConstRemoves → const List<String>
Case sensitivity.
defaultConstReplaces → const Map<String, String>
Case sensitivity.
defaultRemoves → const List<String>
Case sensitivity.
defaultSeparator → const String