/* Options: Date: 2025-05-24 22:31:25 Version: 6.41 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://netcom.poslovnisoftver.rs //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DobaviKategorije1.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class IdNaziv implements IConvertible { String? id; String? naziv; IdNaziv({this.id,this.naziv}); IdNaziv.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; naziv = json['naziv']; return this; } Map toJson() => { 'id': id, 'naziv': naziv }; getTypeName() => "IdNaziv"; TypeContext? context = _ctx; } class DobaviKategorije1Result implements IConvertible { List? kategorije1; ResponseStatus? responseStatus; DobaviKategorije1Result({this.kategorije1,this.responseStatus}); DobaviKategorije1Result.fromJson(Map json) { fromMap(json); } fromMap(Map json) { kategorije1 = JsonConverters.fromJson(json['kategorije1'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'kategorije1': JsonConverters.toJson(kategorije1,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "DobaviKategorije1Result"; TypeContext? context = _ctx; } // @Route("/kategorije1", "GET") class DobaviKategorije1 implements IReturn, IGet, IConvertible { DobaviKategorije1(); DobaviKategorije1.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => DobaviKategorije1Result(); getResponseTypeName() => "DobaviKategorije1Result"; getTypeName() => "DobaviKategorije1"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'netcom.poslovnisoftver.rs', types: { 'IdNaziv': TypeInfo(TypeOf.Class, create:() => IdNaziv()), 'DobaviKategorije1Result': TypeInfo(TypeOf.Class, create:() => DobaviKategorije1Result()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DobaviKategorije1': TypeInfo(TypeOf.Class, create:() => DobaviKategorije1()), });