createTransportableData abstract method
Create 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, ...).
Implementation
TransportableData createTransportableData(Uint8List data, {
String? encoding,
String? mimeType,
Mapping<String, String>? parameters,
});