createTransportableData abstract method
TransportableData
createTransportableData(
- Uint8List data, {
- String? encoding,
- String? mimeType,
- MutableMapping? parameters,
Creates a TransportableData instance from raw data.
data is the raw binary data.
encoding is the encoding algorithm name ("base64", "base58", "hex", ...).
mimeType is the optional content-type ("image/jpeg", ...).
parameters carries the optional extra info (charset, filename, ...).
Returns a new TransportableData instance.
Implementation
TransportableData createTransportableData(Uint8List data, {
String? encoding,
String? mimeType,
MutableMapping? parameters
});