executeCommand method

  1. @override
Future<Response> executeCommand(
  1. List<Command>? commands
)
override

send Command to fiscal printer

Implementation

@override
Future<Response> executeCommand(List<Command>? commands) {
  final xmlDoc = _convertCommandToXmlDoc(commands ?? []);
  return send(xmlDoc);
}