/* Options: Date: 2025-07-17 22:37:47 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://portal-api.migrantleap.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateProfileRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class UpdateProfileResponse implements IConvertible { int? responseCode; String? responseMessage; UpdateProfileResponse({this.responseCode,this.responseMessage}); UpdateProfileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseCode = json['responseCode']; responseMessage = json['responseMessage']; return this; } Map toJson() => { 'responseCode': responseCode, 'responseMessage': responseMessage }; getTypeName() => "UpdateProfileResponse"; TypeContext? context = _ctx; } // @Route("/update-profile", "POST") class UpdateProfileRequest implements IReturn, IConvertible, IPost { String? firstName; String? lastName; String? country; String? language; String? birthDate; String? address; String? address2; String? city; String? state; String? zipCode; String? phoneNumber; UpdateProfileRequest({this.firstName,this.lastName,this.country,this.language,this.birthDate,this.address,this.address2,this.city,this.state,this.zipCode,this.phoneNumber}); UpdateProfileRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { firstName = json['firstName']; lastName = json['lastName']; country = json['country']; language = json['language']; birthDate = json['birthDate']; address = json['address']; address2 = json['address2']; city = json['city']; state = json['state']; zipCode = json['zipCode']; phoneNumber = json['phoneNumber']; return this; } Map toJson() => { 'firstName': firstName, 'lastName': lastName, 'country': country, 'language': language, 'birthDate': birthDate, 'address': address, 'address2': address2, 'city': city, 'state': state, 'zipCode': zipCode, 'phoneNumber': phoneNumber }; createResponse() => UpdateProfileResponse(); getResponseTypeName() => "UpdateProfileResponse"; getTypeName() => "UpdateProfileRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'portal_api.migrantleap.com', types: { 'UpdateProfileResponse': TypeInfo(TypeOf.Class, create:() => UpdateProfileResponse()), 'UpdateProfileRequest': TypeInfo(TypeOf.Class, create:() => UpdateProfileRequest()), });