licenseInstalled method
Checks if a license is installed on the native platform.
Returns true
if the license is installed, otherwise returns false
.
Implementation
Future<bool> licenseInstalled() async {
final response = await invokeNativeMethod('SmartfaceLicense.hasLicense');
if (response.isLeft()) {
return false;
}
return response.asRight;
}