createTransportableFileWrapper abstract method
TransportableFileWrapper
createTransportableFileWrapper(
- Mapping content, {
- TransportableData? data,
- String? filename,
- Uri? url,
- DecryptKey? password,
Creates a TransportableFileWrapper instance with the given parameters.
Parameters:
content: Base Map to initialize the wrapper (may contain partial metadata)data: Binary file data (overridescontent["data"]if provided)filename: Original file name (overridescontent["filename"]if provided)url: Remote CDN URL (overridescontent["URL"]if provided)password: Decryption key (overridescontent["key"]if provided)
Returns: Custom TransportableFileWrapper implementation
Implementation
TransportableFileWrapper createTransportableFileWrapper(Mapping content, {
TransportableData? data,
String? filename,
Uri? url,
DecryptKey? password,
});