to map
Map<String, dynamic> toMap() { return { 'PrintRefNo': printRefNo, 'SavePrintData': savePrintData, 'Data': data.map((x) => x.toMap()).toList(), }; }