class LoginDto { LoginDto({ this.userName, this.password, this.rememberMe = false, this.captchaText, this.captchaToken, this.captchaInputText, }); String? userName; String? password; bool rememberMe; String? captchaText; String? captchaToken; String? captchaInputText; Map toJson() => { 'UserName': userName, 'Password': password, 'RememberMe': rememberMe, 'CaptchaText': captchaText, 'CaptchaToken': captchaToken, 'CaptchaInputText': captchaInputText, }; }