encode method

  1. @override
String encode(
  1. Bech32 input, [
  2. dynamic maxLength = Bech32Validations.maxInputLength
])
override

Encodes input.

The input is encoded as if by encoder.convert.

Implementation

@override
String encode(Bech32 input, [maxLength = Bech32Validations.maxInputLength]) {
  return Bech32Encoder().convert(input, maxLength);
}