getSmartfaceVersion method
Retrieves the Smartface version from the native platform.
Returns a String containing the Smartface version or 'not found' if an error occurs.
Implementation
Future<String> getSmartfaceVersion() async {
final response =
await invokeNativeMethod('SmartfaceLicense.getSmartfaceVersion');
if (response.isLeft()) {
return 'not found';
}
return response.asRight;
}