/* Options: Date: 2024-05-10 03:42:59 Version: 6.111 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,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/hellotypes/{Name}") class HelloTypes implements IReturn, IConvertible, IPost { String? string; bool? Bool; int? Int; HelloTypes({this.string,this.Bool,this.Int}); HelloTypes.fromJson(Map json) { fromMap(json); } fromMap(Map json) { string = json['string']; Bool = json['bool']; Int = json['int']; 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()), });