toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'passwordState',
if (extra != null) '@extra': extra,
'has_password': has_password,
'password_hint': password_hint,
'has_recovery_email_address': has_recovery_email_address,
'has_passport_data': has_passport_data,
'recovery_email_address_code_info': recovery_email_address_code_info,
'login_email_address_pattern': login_email_address_pattern,
'pending_reset_date': pending_reset_date
};
}