startVerificationWithWorkflow method
Start verification by creating a session with a workflow ID.
Implementation
@override
Future<Map<String, dynamic>> startVerificationWithWorkflow(
String workflowId,
String? vendorData,
Map<String, dynamic>? config,
) async {
final result = await methodChannel
.invokeMethod<Map>('startVerificationWithWorkflow', {
'workflowId': workflowId,
if (vendorData != null) 'vendorData': vendorData,
if (config != null) 'config': config,
});
return Map<String, dynamic>.from(result ?? {});
}