/* Options: Date: 2026-09-02 15:38:49 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: QueryItems.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Item implements IConvertible { String name = ""; String description = ""; Item({this.name="",this.description=""}); Item.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name'] ?? ""; description = json['description'] ?? ""; return this; } Map toJson() => { 'name': name, 'description': description }; getTypeName() => "Item"; TypeContext? context = _ctx; } class Poco implements IConvertible { String name = ""; Poco({this.name=""}); Poco.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name'] ?? ""; return this; } Map toJson() => { 'name': name }; getTypeName() => "Poco"; TypeContext? context = _ctx; } class QueryItems extends QueryDb2 implements IReturn>, IConvertible, IGet { QueryItems(); QueryItems.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "QueryItems"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'Item': TypeInfo(TypeOf.Class, create:() => Item()), 'Poco': TypeInfo(TypeOf.Class, create:() => Poco()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'QueryItems': TypeInfo(TypeOf.Class, create:() => QueryItems()), 'List': TypeInfo(TypeOf.Class, create:() => []), });