/* Options: Date: 2024-12-22 21:42:10 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ComboBoxExamples.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ComboBoxExamples implements IReturn, IPost, IConvertible { String? singleClientValues; List? multipleClientValues; String? singleServerValues; List? multipleServerValues; String? singleServerEntries; List? multipleServerEntries; ComboBoxExamples({this.singleClientValues,this.multipleClientValues,this.singleServerValues,this.multipleServerValues,this.singleServerEntries,this.multipleServerEntries}); ComboBoxExamples.fromJson(Map json) { fromMap(json); } fromMap(Map json) { singleClientValues = json['singleClientValues']; multipleClientValues = JsonConverters.fromJson(json['multipleClientValues'],'List',context!); singleServerValues = json['singleServerValues']; multipleServerValues = JsonConverters.fromJson(json['multipleServerValues'],'List',context!); singleServerEntries = json['singleServerEntries']; multipleServerEntries = JsonConverters.fromJson(json['multipleServerEntries'],'List',context!); return this; } Map toJson() => { 'singleClientValues': singleClientValues, 'multipleClientValues': JsonConverters.toJson(multipleClientValues,'List',context!), 'singleServerValues': singleServerValues, 'multipleServerValues': JsonConverters.toJson(multipleServerValues,'List',context!), 'singleServerEntries': singleServerEntries, 'multipleServerEntries': JsonConverters.toJson(multipleServerEntries,'List',context!) }; createResponse() => ComboBoxExamples(); getResponseTypeName() => "ComboBoxExamples"; getTypeName() => "ComboBoxExamples"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazor_gallery.servicestack.net', types: { 'ComboBoxExamples': TypeInfo(TypeOf.Class, create:() => ComboBoxExamples()), });