/* Options: Date: 2025-11-09 11:09:44 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.api.bettor.cc //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetLookup.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LookupItem implements IConvertible { String? id; String? value; String? tag; LookupItem({this.id,this.value,this.tag}); LookupItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; value = json['value']; tag = json['tag']; return this; } Map toJson() => { 'id': id, 'value': value, 'tag': tag }; getTypeName() => "LookupItem"; TypeContext? context = _ctx; } class Lookup implements IConvertible { String? id; List? data; Lookup({this.id,this.data}); Lookup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; data = JsonConverters.fromJson(json['data'],'List',context!); return this; } Map toJson() => { 'id': id, 'data': JsonConverters.toJson(data,'List',context!) }; getTypeName() => "Lookup"; TypeContext? context = _ctx; } // @Route("/qry/lookups") class GetLookup implements IReturn, IConvertible, IPost { String? id; GetLookup({this.id}); GetLookup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => Lookup(); getResponseTypeName() => "Lookup"; getTypeName() => "GetLookup"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 's4w2.api.bettor.cc', types: { 'LookupItem': TypeInfo(TypeOf.Class, create:() => LookupItem()), 'Lookup': TypeInfo(TypeOf.Class, create:() => Lookup()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetLookup': TypeInfo(TypeOf.Class, create:() => GetLookup()), });