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