copyWith method

BiometricPromptOptions copyWith({
  1. String? title,
  2. String? subtitle,
  3. String? description,
  4. String? negativeButtonText,
  5. bool? confirmationRequired,
})

API Documentation for copyWith.

Implementation

BiometricPromptOptions copyWith({
  String? title,
  String? subtitle,
  String? description,
  String? negativeButtonText,
  bool? confirmationRequired,
}) {
  return BiometricPromptOptions(
    title: title ?? this.title,
    subtitle: subtitle ?? this.subtitle,
    description: description ?? this.description,
    negativeButtonText: negativeButtonText ?? this.negativeButtonText,
    confirmationRequired: confirmationRequired ?? this.confirmationRequired,
  );
}