AddSecondFactorRequestMeta class

Constructors

AddSecondFactorRequestMeta({String? password, String? otp})
Returns a new AddSecondFactorRequestMeta instance.

Properties

hashCode int
The hash code for this object.
no setteroverride
otp String?
When the user has an existing second factor, the OTP code of the second factor.
getter/setter pair
password String?
When the user does not have an existing second factor, the password of the user.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) AddSecondFactorRequestMeta?
Returns a new AddSecondFactorRequestMeta instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<AddSecondFactorRequestMeta>
mapFromJson(dynamic json) Map<String, AddSecondFactorRequestMeta>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<AddSecondFactorRequestMeta>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.