/* Options: Date: 2026-09-02 15:39:06 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: HelloWithDescription.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; /** * Description on HelloWithDescriptionResponse type */ class HelloWithDescriptionResponse implements IConvertible { String result = ""; HelloWithDescriptionResponse({this.result=""}); HelloWithDescriptionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { result = json['result'] ?? ""; return this; } Map toJson() => { 'result': result }; getTypeName() => "HelloWithDescriptionResponse"; TypeContext? context = _ctx; } /** * Description on HelloWithDescription type */ class HelloWithDescription implements IReturn, IConvertible, IPost { String name = ""; HelloWithDescription({this.name=""}); HelloWithDescription.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name'] ?? ""; return this; } Map toJson() => { 'name': name }; createResponse() => HelloWithDescriptionResponse(); getResponseTypeName() => "HelloWithDescriptionResponse"; getTypeName() => "HelloWithDescription"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'HelloWithDescriptionResponse': TypeInfo(TypeOf.Class, create:() => HelloWithDescriptionResponse()), 'HelloWithDescription': TypeInfo(TypeOf.Class, create:() => HelloWithDescription()), });