createTransportableFileWrapper abstract method

TransportableFileWrapper createTransportableFileWrapper(
  1. Mapping content, {
  2. TransportableData? data,
  3. String? filename,
  4. Uri? url,
  5. 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 (overrides content["data"] if provided)
  • filename : Original file name (overrides content["filename"] if provided)
  • url : Remote CDN URL (overrides content["URL"] if provided)
  • password : Decryption key (overrides content["key"] if provided)

Returns: Custom TransportableFileWrapper implementation

Implementation

TransportableFileWrapper createTransportableFileWrapper(Mapping content, {
  TransportableData? data,
  String? filename,
  Uri? url,
  DecryptKey? password,
});