decodeKey method
Convenience: decode a key and coerce the result to String (or null).
Implementation
String? decodeKey(
String? value, {
Encoding? charset,
}) =>
decode(
value,
charset: charset ?? this.charset,
kind: DecodeKind.key,
)?.toString();