PinCodeService class abstract

Constructors

PinCodeService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encryptPinCode(String pinCode) Future<String>
Encrypts the provided pin code and returns the encrypted string. It has a default implementation to return what is the input.
getPinCode() Future<String?>
Returns the pin code or null if it is not saved in the device memory yet.
getPinLength() Future<int>
Returns the correct length from the backend, the length should be less than 10 digits
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
savePinCodeInSecureStorage(String pinCode) Future<bool>
Stores the encrypted pin code in the device secure storage.
toString() String
A string representation of this object.
inherited
verifyPinCode(String pinCode) Future
Receives the encrypted pinCode from user input. Returns the value verified by the server

Operators

operator ==(Object other) bool
The equality operator.
inherited