FazpassSettingsBuilder class
A builder to create FazpassSettings object.
To enable specific sensitive data collection, call enableSelectedSensitiveData method and specify which data you want to collect. Otherwise call disableSelectedSensitiveData method and specify which data you don't want to collect. To set biometric level to high, call setBiometricLevelToHigh. Otherwise call setBiometricLevelToLow. To create FazpassSettings object with this builder configuration, call build method.
FazpassSettings settings = FazpassSettingsBuilder()
.enableSelectedSensitiveData([SensitiveData.location])
.setBiometricLevelToHigh()
.build();
You can also copy settings from FazpassSettings by using FazpassSettingsBuilder.fromFazpassSettings constructor.
FazpassSettingsBuilder builder =
FazpassSettingsBuilder.fromFazpassSettings(settings);
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBiometricLevelHigh → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sensitiveData
→ List<
SensitiveData> -
no setter
Methods
-
build(
) → FazpassSettings -
disableSelectedSensitiveData(
List< SensitiveData> sensitiveData) → FazpassSettingsBuilder -
enableSelectedSensitiveData(
List< SensitiveData> sensitiveData) → FazpassSettingsBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBiometricLevelToHigh(
) → FazpassSettingsBuilder -
setBiometricLevelToLow(
) → FazpassSettingsBuilder -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited