RefinedSoundex.fromMapping constructor

RefinedSoundex.fromMapping(
  1. Map<int, int> soundexMapping, {
  2. int maxLength = 0,
})

Creates a custom Soundex instance. This constructor can be used to provide custom mappings for non-Western character sets, etc.

Implementation

factory RefinedSoundex.fromMapping(final Map<int, int> soundexMapping,
        {int maxLength = 0}) =>
    RefinedSoundex._internal(Map.unmodifiable(soundexMapping), maxLength);