# enrollPrepare method

Future<Either<String, dynamic>> enrollPrepare({

1. required int userIdentifier,
2. required int groupKeyA,
3. required int groupKeyB,
4. required bool withGlasses,

})

Prepares the enrollment process for a user.

This method invokes the native method `SmartfaceMobile.enrollPrepare` with the provided parameters.

Parameters:

- `userIdentifier` (required): The unique identifier for the user.
- `groupKeyA` (required): The first group key associated with the user.
- `groupKeyB` (required): The second group key associated with the user.
- `withGlasses` (required): A boolean indicating whether the user is wearing glasses.

Returns: A `Future` that resolves to an `Either<String, dynamic>` indicating the result of the enrollment preparation.

Example:

    final result = await enrollPrepare(
      userIdentifier: 123,
      groupKeyA: 456,
      groupKeyB: 789,
      withGlasses: true,
    );

## Implementation

    Future<Either<String, dynamic>> enrollPrepare({
      required int userIdentifier,
      required int groupKeyA,
      required int groupKeyB,
      required bool withGlasses,
    }) {
      return invokeNativeMethod('SmartfaceMobile.enrollPrepare', {
        'arg0': userIdentifier,
        'arg1': withGlasses,
        'arg2': groupKeyA,
        'arg3': groupKeyB,
      });
    }