crateApiPrinterRunPrinterLddCommand method
void
crateApiPrinterRunPrinterLddCommand({
- required Printer printer,
- required LddCommand lddCommand,
override
Implementation
@override
void crateApiPrinterRunPrinterLddCommand(
{required Printer printer, required LddCommand lddCommand}) {
return handler.executeSync(SyncTask(
callFfi: () {
final serializer = SseSerializer(generalizedFrbRustBinding);
sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerPrinter(
printer, serializer);
sse_encode_box_autoadd_ldd_command(lddCommand, serializer);
return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 5)!;
},
codec: SseCodec(
decodeSuccessData: sse_decode_unit,
decodeErrorData: sse_decode_String,
),
constMeta: kCrateApiPrinterRunPrinterLddCommandConstMeta,
argValues: [printer, lddCommand],
apiImpl: this,
));
}