downloadReport method
Programmatically triggers the internal download/export logic.
This allows you to initiate an Excel export or file download from a button located outside of the ReportMaker widget.
Implementation
Future<void> downloadReport() async {
if (_downloadCallback != null) {
await _downloadCallback!();
} else {
debugPrint("NRB Warning: Controller is not attached or download is unavailable.");
}
}