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