/* Options: Date: 2025-12-14 13:15:02 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://auth.migrantleap.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ResetPassword.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BaseResponse implements IConvertible { ResponseStatus? responseStatus; BaseResponse({this.responseStatus}); BaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "BaseResponse"; TypeContext? context = _ctx; } class ResetPasswordResponse extends BaseResponse implements IConvertible { ResetPasswordResponse(); ResetPasswordResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "ResetPasswordResponse"; TypeContext? context = _ctx; } // @Route("/api/v1/resetpassword/request", "POST") class ResetPassword implements IReturn, IConvertible, IPost { String? email; ResetPassword({this.email}); ResetPassword.fromJson(Map json) { fromMap(json); } fromMap(Map json) { email = json['email']; return this; } Map toJson() => { 'email': email }; createResponse() => ResetPasswordResponse(); getResponseTypeName() => "ResetPasswordResponse"; getTypeName() => "ResetPassword"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'auth.migrantleap.com', types: { 'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()), 'ResetPasswordResponse': TypeInfo(TypeOf.Class, create:() => ResetPasswordResponse()), 'ResetPassword': TypeInfo(TypeOf.Class, create:() => ResetPassword()), });