decoder method

dynamic decoder(
  1. String? value, {
  2. Encoding? charset,
})

Decode the input using the specified Decoder.

Implementation

dynamic decoder(String? value, {Encoding? charset}) => _decoder is Function
    ? _decoder?.call(value, charset: charset)
    : Utils.decode(value, charset: charset);