BaseFileContent.from constructor
BaseFileContent.from(
- String? msgType,
- TransportableData? data,
- String? filename,
- Uri? url,
- DecryptKey? password,
Implementation
BaseFileContent.from(String? msgType, TransportableData? data, String? filename,
Uri? url, DecryptKey? password)
: super.fromType(msgType ?? ContentType.FILE) {
_wrapper = TransportableFileWrapper.create(super.toMap(),
data: data, filename: filename, url: url, password: password,
);
}