startLiveness method
Implementation
@override
Future<EkycResult> startLiveness(String livenessType, String? faceImageBase64) async {
final arguments = {};
arguments.putIfAbsent("livenessType", () => livenessType);
arguments.putIfAbsent("faceImageBase64", () => faceImageBase64);
try {
final String result =
await methodChannel.invokeMethod('konnectedScanLiveness', arguments);
return ekycResultFromJson(result);
} catch (e) {
debugPrint(e.toString());
rethrow;
}
}