/* Options: Date: 2025-05-06 16:34:20 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-autoupdates-live.smartnewapis.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: Hello.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class HelloResponse implements IConvertible { String? result; HelloResponse({this.result}); HelloResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { result = json['result']; return this; } Map toJson() => { 'result': result }; getTypeName() => "HelloResponse"; TypeContext? context = _ctx; } // @Route("/hello/{Name}", "GET POST") // @Route("/hello", "GET POST") class Hello implements IReturn, IConvertible { String? name; bool? isWoman; int? age; Hello({this.name,this.isWoman,this.age}); Hello.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; isWoman = json['isWoman']; age = json['age']; return this; } Map toJson() => { 'name': name, 'isWoman': isWoman, 'age': age }; createResponse() => HelloResponse(); getResponseTypeName() => "HelloResponse"; getTypeName() => "Hello"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'HelloResponse': TypeInfo(TypeOf.Class, create:() => HelloResponse()), 'Hello': TypeInfo(TypeOf.Class, create:() => Hello()), });