/* Options: Date: 2025-07-18 08:24:27 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: ProfileRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ProfileResponse implements IConvertible { String? firstName; String? lastName; String? email; String? country; String? language; String? birthDate; String? address; String? address2; String? city; String? state; String? zipCode; String? phoneNumber; String? memberId; int? responseCode; String? responseMessage; ProfileResponse({this.firstName,this.lastName,this.email,this.country,this.language,this.birthDate,this.address,this.address2,this.city,this.state,this.zipCode,this.phoneNumber,this.memberId,this.responseCode,this.responseMessage}); ProfileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { firstName = json['firstName']; lastName = json['lastName']; email = json['email']; 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']; memberId = json['memberId']; responseCode = json['responseCode']; responseMessage = json['responseMessage']; return this; } Map toJson() => { 'firstName': firstName, 'lastName': lastName, 'email': email, 'country': country, 'language': language, 'birthDate': birthDate, 'address': address, 'address2': address2, 'city': city, 'state': state, 'zipCode': zipCode, 'phoneNumber': phoneNumber, 'memberId': memberId, 'responseCode': responseCode, 'responseMessage': responseMessage }; getTypeName() => "ProfileResponse"; TypeContext? context = _ctx; } // @Route("/profile", "GET") class ProfileRequest implements IReturn, IConvertible, IGet { ProfileRequest(); ProfileRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => ProfileResponse(); getResponseTypeName() => "ProfileResponse"; getTypeName() => "ProfileRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'portal_api.migrantleap.com', types: { 'ProfileResponse': TypeInfo(TypeOf.Class, create:() => ProfileResponse()), 'ProfileRequest': TypeInfo(TypeOf.Class, create:() => ProfileRequest()), });