OtpAuthMigration class
A stateless class (not a singleton) that provides encode and decode functions for the otpauth-migration URI format used to import into and export 2FA secrets from the Google Authenticator app
Constructors
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
-
decode(
String value, {bool debug = false}) → List< String> - decode a given otpauth-migration URI into a list of one or more otpauth URIs
-
encode(
List< String> otpAuths, {bool debug = false, int version = -1, int batchSize = -1, int batchIndex = -1, int batchId = -1}) → String - encode given list of optauth URIs into a single otpauth-migration URI
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited