encoding property
String?
encoding
Retrieves the encoding such as BASE64
, only relevant when the content is binary
Compare isBinary
Implementation
String? get encoding => getParameterValue<String>(ParameterType.encoding);
Sets the encoding
Implementation
set encoding(String? value) => setOrRemoveParameter(
ParameterType.encoding,
TextParameter.create(ParameterType.encoding.typeName ?? '', value),
);