/* Options: Date: 2026-09-11 17:55:55 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: QueryPocoBase.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class OnlyDefinedInGenericType implements IConvertible { int id = 0; String name = ""; OnlyDefinedInGenericType({this.id=0,this.name=""}); OnlyDefinedInGenericType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id'] ?? 0; name = json['name'] ?? ""; return this; } Map toJson() => { 'id': id, 'name': name }; getTypeName() => "OnlyDefinedInGenericType"; TypeContext? context = _ctx; } class QueryPocoBase extends QueryDb implements IReturn>, IConvertible, IGet { int id = 0; QueryPocoBase({this.id=0}); QueryPocoBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id'] ?? 0; return this; } Map toJson() => super.toJson()..addAll({ 'id': id }); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "QueryPocoBase"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'OnlyDefinedInGenericType': TypeInfo(TypeOf.Class, create:() => OnlyDefinedInGenericType()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'QueryPocoBase': TypeInfo(TypeOf.Class, create:() => QueryPocoBase()), 'List': TypeInfo(TypeOf.Class, create:() => []), });