/* Options: Date: 2026-01-22 01:46:33 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pecuario-backend.develsystems.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RegisterComplete.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Status implements IConvertible { String? message; int? statusCode; Status({this.message,this.statusCode}); Status.fromJson(Map json) { fromMap(json); } fromMap(Map json) { message = json['message']; statusCode = json['statusCode']; return this; } Map toJson() => { 'message': message, 'statusCode': statusCode }; getTypeName() => "Status"; TypeContext? context = _ctx; } class BaseResponse implements IConvertible { Status? status; BaseResponse({this.status}); BaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { status = JsonConverters.fromJson(json['status'],'Status',context!); return this; } Map toJson() => { 'status': JsonConverters.toJson(status,'Status',context!) }; getTypeName() => "BaseResponse"; TypeContext? context = _ctx; } class RegisterCompleteResponse extends BaseResponse implements IConvertible { String? bearerToken; RegisterCompleteResponse({this.bearerToken}); RegisterCompleteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); bearerToken = json['bearerToken']; return this; } Map toJson() => super.toJson()..addAll({ 'bearerToken': bearerToken }); getTypeName() => "RegisterCompleteResponse"; TypeContext? context = _ctx; } // @Route("/api/v1/register/complete", "POST") class RegisterComplete implements IReturn, IConvertible, IPost { String? registrationToken; String? firstName; String? lastName; String? userType; String? country; String? deviceId; RegisterComplete({this.registrationToken,this.firstName,this.lastName,this.userType,this.country,this.deviceId}); RegisterComplete.fromJson(Map json) { fromMap(json); } fromMap(Map json) { registrationToken = json['registrationToken']; firstName = json['firstName']; lastName = json['lastName']; userType = json['userType']; country = json['country']; deviceId = json['deviceId']; return this; } Map toJson() => { 'registrationToken': registrationToken, 'firstName': firstName, 'lastName': lastName, 'userType': userType, 'country': country, 'deviceId': deviceId }; createResponse() => RegisterCompleteResponse(); getResponseTypeName() => "RegisterCompleteResponse"; getTypeName() => "RegisterComplete"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pecuario_backend.develsystems.com', types: { 'Status': TypeInfo(TypeOf.Class, create:() => Status()), 'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()), 'RegisterCompleteResponse': TypeInfo(TypeOf.Class, create:() => RegisterCompleteResponse()), 'RegisterComplete': TypeInfo(TypeOf.Class, create:() => RegisterComplete()), });