/* Options: Date: 2024-05-10 15:11:27 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: QueryPocoBase.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; class OnlyDefinedInGenericType implements IConvertible { int? id; String? name; OnlyDefinedInGenericType({this.id,this.name}); OnlyDefinedInGenericType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; 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; QueryPocoBase({this.id}); QueryPocoBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; 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:() => []), });