printDynamic method
Universal dynamic printing method
Prints any type of document dynamically based on provided args map.
args - Map containing document data (businessName, header, fields, items, totals, footer, qrCodeField, etc.)
bothCopies - If true, prints both customer and merchant copies with a pause between them
pauseBetweenCopies - Number of seconds to pause between copies (default: 5 seconds)
Implementation
Future<Map<String, dynamic>> printDynamic(
Map<String, dynamic> args, {
bool bothCopies = false,
int pauseBetweenCopies = 5,
}) {
throw UnimplementedError('printDynamic() has not been implemented.');
}