hasLicense method

Future<Either<String, dynamic>> hasLicense()

Checks if a license is present on the native platform.

Returns an Either containing an error message on the left or the response on the right.

Implementation

Future<Either<String, dynamic>> hasLicense() async {
  return await invokeNativeMethod('SmartfaceLicense.hasLicense');
}