Aidra Driver
1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
biometric_exception.dart
Go to the documentation of this file.
1
import
'app_exception.dart';
2
3
class
BiometricException
extends
AppException
{
4
const
BiometricException
({
5
required super.message,
6
super.code,
7
super.details,
8
});
9
10
factory
BiometricException
.notAvailable() {
11
return
const
BiometricException
(
12
message
:
'Biometric authentication is not available'
,
13
code:
'BIOMETRIC_NOT_AVAILABLE'
,
14
);
15
}
16
17
factory
BiometricException
.notEnrolled() {
18
return
const
BiometricException
(
19
message
:
'Biometric authentication is not enrolled'
,
20
code:
'BIOMETRIC_NOT_ENROLLED'
,
21
);
22
}
23
24
factory
BiometricException
.notSupported() {
25
return
const
BiometricException
(
26
message
:
'Biometric authentication is not supported'
,
27
code:
'BIOMETRIC_NOT_SUPPORTED'
,
28
);
29
}
30
}
AppException
Definition
auth_exception.dart:3
AppException::BiometricException
const BiometricException({ required super.message, super.code, super.details, })
message
final String message
Definition
failures.dart:0
lib
core
error
exceptipns
biometric_exception.dart
Generated by
1.16.1