encoder method
Implementation
String encoder(dynamic value, {Encoding? charset, Format? format}) =>
_encoder?.call(
value,
charset: charset ?? this.charset,
format: format ?? this.format,
) ??
Utils.encode(
value,
charset: charset ?? this.charset,
format: format ?? this.format,
);