/* Options: Date: 2026-09-02 15:38:51 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: HelloTypes.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/hellotypes/{Name}") class HelloTypes implements IReturn, IConvertible, IPost { String string = ""; bool? Bool; int Int = 0; HelloTypes({this.string="",this.Bool,this.Int=0}); HelloTypes.fromJson(Map json) { fromMap(json); } fromMap(Map json) { string = json['string'] ?? ""; Bool = json['bool']; Int = json['int'] ?? 0; return this; } Map toJson() => { 'string': string, 'bool': Bool, 'int': Int }; createResponse() => HelloTypes(); getResponseTypeName() => "HelloTypes"; getTypeName() => "HelloTypes"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'HelloTypes': TypeInfo(TypeOf.Class, create:() => HelloTypes()), });