IamPasswordBody class

Constructors

IamPasswordBody({String? code, String? oldPassword, String? organization, String? password, String? username})
Returns a new IamPasswordBody instance.

Properties

code ↔ String?
Code is the one-time code delivered to the account's own address.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
oldPassword ↔ String?
OldPassword is the credential being replaced, the proof a signed-in caller gives instead of a code.
getter/setter pair
organization ↔ String?
The account being recovered, for a caller who cannot be signed in. Read on the CODE arm only — a signed-in caller is resolved from its own session or token, never from these.
getter/setter pair
password ↔ String?
Password is the new credential. It must satisfy the platform floor and the organization's own complexity options.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
username ↔ String?
email, username OR phone
getter/setter pair

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) → IamPasswordBody?
Returns a new IamPasswordBody instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<IamPasswordBody>
mapFromJson(dynamic json) → Map<String, IamPasswordBody>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<IamPasswordBody>>

Constants

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