wrapLine method

  1. @override
Future<PrinterResponse> wrapLine(
  1. int lineQuantity
)
override

Implementation

@override
Future<PrinterResponse> wrapLine(int lineQuantity) async {
  try {
    if (_gertecType == GertecType.gpos700) {
      return await _gertecPrinterRepository.wrapLine(lineQuantity);
    }
    return await _gertecSK210Repository.wrapLine(lineQuantity);
  } catch (e) {
    rethrow;
  }
}