OtpState
Immutable state of one OTP field.
code contains only characters of charset (ASCII digits 0-9 by default) and is never longer than length. Counts such as enteredDigitCount and OtpLength.digitCount count characters, letters included. The host app is responsible for verifying the code with its server and for clearing the state when the screen is left or the code expires. After a failed verification, call cleared or let the user edit the code, so that the next full code reports completion again.
Constructors
Link copied to clipboard
Creates an empty numeric state without an error.
Creates an empty state for charset without an error.
Properties
Link copied to clipboard
Which characters code may contain.
Link copied to clipboard
Link copied to clipboard