/* Options: Date: 2024-05-15 08:11:14 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: QueryPocoIntoBase.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; class OnlyDefinedInGenericTypeFrom implements IConvertible { int? id; String? name; OnlyDefinedInGenericTypeFrom({this.id,this.name}); OnlyDefinedInGenericTypeFrom.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; return this; } Map toJson() => { 'id': id, 'name': name }; getTypeName() => "OnlyDefinedInGenericTypeFrom"; TypeContext? context = _ctx; } class OnlyDefinedInGenericTypeInto implements IConvertible { int? id; String? name; OnlyDefinedInGenericTypeInto({this.id,this.name}); OnlyDefinedInGenericTypeInto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; return this; } Map toJson() => { 'id': id, 'name': name }; getTypeName() => "OnlyDefinedInGenericTypeInto"; TypeContext? context = _ctx; } class QueryPocoIntoBase extends QueryDb2 implements IReturn>, IConvertible, IGet { int? id; QueryPocoIntoBase({this.id}); QueryPocoIntoBase.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() => "QueryPocoIntoBase"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'OnlyDefinedInGenericTypeFrom': TypeInfo(TypeOf.Class, create:() => OnlyDefinedInGenericTypeFrom()), 'OnlyDefinedInGenericTypeInto': TypeInfo(TypeOf.Class, create:() => OnlyDefinedInGenericTypeInto()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'QueryPocoIntoBase': TypeInfo(TypeOf.Class, create:() => QueryPocoIntoBase()), 'List': TypeInfo(TypeOf.Class, create:() => []), });