idCheck static method

Future<String> idCheck(
  1. String userId,
  2. bool newUser
)

This function is used for doing a ID Check along with face authentication

Implementation

static Future<String> idCheck(String userId, bool newUser) async {
  final String result = await _channel
      .invokeMethod('idCheck', {"userId": userId, "newUser": newUser});
  return result;
}