/* Options: Date: 2026-09-02 15:39:29 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HelloWithRoute.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class HelloWithRouteResponse implements IConvertible { String result = ""; HelloWithRouteResponse({this.result=""}); HelloWithRouteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { result = json['result'] ?? ""; return this; } Map toJson() => { 'result': result }; getTypeName() => "HelloWithRouteResponse"; TypeContext? context = _ctx; } // @Route("/helloroute") class HelloWithRoute implements IReturn, IConvertible, IPost { String name = ""; HelloWithRoute({this.name=""}); HelloWithRoute.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name'] ?? ""; return this; } Map toJson() => { 'name': name }; createResponse() => HelloWithRouteResponse(); getResponseTypeName() => "HelloWithRouteResponse"; getTypeName() => "HelloWithRoute"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'HelloWithRouteResponse': TypeInfo(TypeOf.Class, create:() => HelloWithRouteResponse()), 'HelloWithRoute': TypeInfo(TypeOf.Class, create:() => HelloWithRoute()), });