PinAuthWidget constructor

const PinAuthWidget({
  1. Key? key,
  2. required String? authToken,
  3. required String? platform,
  4. required String? tenantId,
  5. String? baseUrl,
  6. required String? deviceId,
  7. required String? notificationType,
  8. String? fingerprintMessage,
  9. bool? showPin,
  10. bool? sendPushNotification,
  11. bool? showFingerprint,
  12. bool? isFaceMatched,
})

Implementation

const PinAuthWidget({
  super.key,
  required this.authToken,
  required this.platform,
  required this.tenantId,
  this.baseUrl,
  required this.deviceId,
  required this.notificationType,
  this.fingerprintMessage,
  bool? showPin,
  bool? sendPushNotification,
  bool? showFingerprint,
  bool? isFaceMatched,
})  : this.showPin = showPin ?? true,
      this.sendPushNotification = sendPushNotification ?? false,
      this.showFingerprint = showFingerprint ?? true,
      this.isFaceMatched = isFaceMatched ?? false;