decoder method
Decode a single scalar using either the custom Decoder or the default
implementation in Utils.decode
.
Implementation
dynamic decoder(String? value, {Encoding? charset}) => _decoder is Function
? _decoder?.call(value, charset: charset)
: Utils.decode(value, charset: charset);