authenticateWithOptions method

Future<bool> authenticateWithOptions(
  1. BiometricPromptOptions options
)

Triggers a system biometric prompt with native-level customizable options.

Implementation

Future<bool> authenticateWithOptions(BiometricPromptOptions options) {
  if (options.title.trim().isEmpty) {
    throw ArgumentError.value(
      options.title,
      'title',
      'Authentication title cannot be empty.',
    );
  }
  return NexoraSdkPlatform.instance.authenticateWithOptions(options);
}