/* Options: Date: 2024-05-12 02:38:31 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: HelloWithDescription.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; /** * 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()), });