printBarcode method

  1. @override
Future<String?> printBarcode(
  1. List requests,
  2. String logicalName,
  3. String address
)
override

Implementation

@override
Future<String?> printBarcode(
    List<dynamic> requests, String logicalName, String address) async {
  try {
    final result = await methodChannel.invokeMethod<String>('printBarcode', {
      'requests': requests,
      'logicalName': logicalName,
      'address': address
    });
    return result;
  } catch (e) {
    throw Exception('printBarcode: 출력 중 에러발생: $e');
  }
}