Soundex.fromMapping constructor
Soundex.fromMapping(})
Creates a custom Soundex instance. This constructor can be used to provide custom mappings for non-Western character sets, etc.
Implementation
factory Soundex.fromMapping(final Map<int, int> soundexMapping,
{bool prefixesEnabled = true,
bool hyphenatedPartsEnabled = true,
bool ignoreHW = true,
bool trackIgnored = true,
int maxLength = defaultMaxLength,
int paddingChar = $0,
bool paddingEnabled = true}) =>
Soundex._internal(
Map.unmodifiable(soundexMapping),
prefixesEnabled,
hyphenatedPartsEnabled,
ignoreHW,
trackIgnored,
maxLength,
paddingChar,
paddingEnabled);