/* Options: Date: 2025-12-06 06:41:38 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //GlobalNamespace: BusinessApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ForgotPasswordRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; class ForgotPasswordResponse implements IConvertible { String? email; String? sentEmailWithRequestId; ForgotPasswordResponse({this.email,this.sentEmailWithRequestId}); ForgotPasswordResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { email = json['email']; sentEmailWithRequestId = json['sentEmailWithRequestId']; return this; } Map toJson() => { 'email': email, 'sentEmailWithRequestId': sentEmailWithRequestId }; getTypeName() => "ForgotPasswordResponse"; TypeContext? context = _ctx; } // @Route("/login/forgot_password", "POST") class ForgotPasswordRequest implements IReturn, IPost, IConvertible { String? mobilePhone; ForgotPasswordRequest({this.mobilePhone}); ForgotPasswordRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { mobilePhone = json['mobilePhone']; return this; } Map toJson() => { 'mobilePhone': mobilePhone }; createResponse() => ForgotPasswordResponse(); getResponseTypeName() => "ForgotPasswordResponse"; getTypeName() => "ForgotPasswordRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'ForgotPasswordResponse': TypeInfo(TypeOf.Class, create:() => ForgotPasswordResponse()), 'ForgotPasswordRequest': TypeInfo(TypeOf.Class, create:() => ForgotPasswordRequest()), });