LoginType enum

Inheritance

Constructors

LoginType()
const

Values

otp → const LoginType

Login with OTP LoginType.otp This option provides the option to login with OTP only

password → const LoginType

Login with Password LoginType.password This option provides the option to login with password only Forget password and signup options are available

otpAndPassword → const LoginType

Login with OTP and Password LoginType.otpAndPassword This option provides the option to login with OTP or Password If the user selects OTP, the user will be redirected to the OTP verification page If the user selects Password, the user will be logged in with the password ! This option does not provide the option to login with OTP and Password at the same time

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<LoginType>
A constant List of the values in this enum, in order of their declaration.