PasswordState.fromJson constructor
Parse from a json
Implementation
factory PasswordState.fromJson(Map<String, dynamic> json) => PasswordState(
hasPassword: json['has_password'],
passwordHint: json['password_hint'],
hasRecoveryEmailAddress: json['has_recovery_email_address'],
hasPassportData: json['has_passport_data'],
recoveryEmailAddressCodeInfo: json['recovery_email_address_code_info'] == null ? null : EmailAddressAuthenticationCodeInfo.fromJson(json['recovery_email_address_code_info']),
pendingResetDate: json['pending_reset_date'],
extra: json['@extra'],
clientId: json['@client_id'],
);