callShippingLabelApi method

void callShippingLabelApi({
  1. String? apiKey,
  2. String? token,
  3. required Uint8List image,
  4. required List<String> barcodes,
  5. String? locationId,
  6. Map<String, dynamic>? recipient,
  7. Map<String, dynamic>? sender,
  8. Map<String, dynamic>? options,
  9. Map<String, dynamic>? metadata,
})

Implementation

void callShippingLabelApi(
    {String? apiKey,
    String? token,
    required Uint8List image,
    required List<String> barcodes,
    String? locationId,
    Map<String, dynamic>? recipient,
    Map<String, dynamic>? sender,
    Map<String, dynamic>? options,
    Map<String, dynamic>? metadata}) async {
  await _channel.invokeMethod('callOCRAPI', {
    'apiKey': apiKey,
    'token': token,
    'byteArrayImage': image,
    'barcodes': barcodes,
    'locationId': locationId,
    'recipient': recipient,
    'sender': sender,
    'options': options,
    'metadata': metadata
  });
}