Nysiis.withOptions constructor

Nysiis.withOptions({
  1. int maxLength = defaultOriginalMaxLength,
  2. bool enableModified = false,
})

Creates an instance with a custom maxLength and enableModified. The defaults are consistent with the originalEncoder.

Implementation

factory Nysiis.withOptions(
        {int maxLength = defaultOriginalMaxLength,
        bool enableModified = false}) =>
    Nysiis._internal(maxLength, enableModified);