/* Options: Date: 2025-05-24 20:53:24 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: DobaviKategorije2.* //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 DobaviKategorije2Result implements IConvertible { List? kategorije2; ResponseStatus? responseStatus; DobaviKategorije2Result({this.kategorije2,this.responseStatus}); DobaviKategorije2Result.fromJson(Map json) { fromMap(json); } fromMap(Map json) { kategorije2 = JsonConverters.fromJson(json['kategorije2'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'kategorije2': JsonConverters.toJson(kategorije2,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "DobaviKategorije2Result"; TypeContext? context = _ctx; } // @Route("/kategorije2", "GET") class DobaviKategorije2 implements IReturn, IGet, IConvertible { DobaviKategorije2(); DobaviKategorije2.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => DobaviKategorije2Result(); getResponseTypeName() => "DobaviKategorije2Result"; getTypeName() => "DobaviKategorije2"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'netcom.poslovnisoftver.rs', types: { 'IdNaziv': TypeInfo(TypeOf.Class, create:() => IdNaziv()), 'DobaviKategorije2Result': TypeInfo(TypeOf.Class, create:() => DobaviKategorije2Result()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DobaviKategorije2': TypeInfo(TypeOf.Class, create:() => DobaviKategorije2()), });