fromMap static method
override
Construct from Map.
Implementation
static RecoverPassword? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var recovery_code = _map['recovery_code']! as String;
var new_password = _map['new_password']! as String;
var new_hint = _map['new_hint']! as String;
return RecoverPassword(
extra: extra,
clientId: clientId,
recovery_code: recovery_code,
new_password: new_password,
new_hint: new_hint,
);
}