fromMap static method
override
Construct from Map.
Implementation
static SetPassword? 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 old_password = _map['old_password']! as String;
var new_password = _map['new_password']! as String;
var new_hint = _map['new_hint']! as String;
var set_recovery_email_address =
_map['set_recovery_email_address']! as bool;
var new_recovery_email_address =
_map['new_recovery_email_address']! as String;
return SetPassword(
extra: extra,
clientId: clientId,
old_password: old_password,
new_password: new_password,
new_hint: new_hint,
set_recovery_email_address: set_recovery_email_address,
new_recovery_email_address: new_recovery_email_address,
);
}