/* Options: Date: 2026-01-27 18:51:21 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://buildmax.org //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetJsonPicklistItems.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class JsonDto implements IConvertible { JsonDto(); JsonDto.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "JsonDto"; TypeContext? context = _ctx; } class JsonPicklistItemsResponse extends JsonDto implements IConvertible { String? Guid; List? Items; JsonPicklistItemsResponse({this.Guid,this.Items}); JsonPicklistItemsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Guid = json['Guid']; Items = JsonConverters.fromJson(json['Items'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Guid': Guid, 'Items': JsonConverters.toJson(Items,'List',context!) }); getTypeName() => "JsonPicklistItemsResponse"; TypeContext? context = _ctx; } class GetJsonPicklistItems extends JsonDto implements IReturn, IConvertible, IGet { String? TemplateGuid; String? Guid; Map? Answers; GetJsonPicklistItems({this.TemplateGuid,this.Guid,this.Answers}); GetJsonPicklistItems.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TemplateGuid = json['TemplateGuid']; Guid = json['Guid']; Answers = JsonConverters.fromJson(json['Answers'],'Map',context!); return this; } Map toJson() => super.toJson()..addAll({ 'TemplateGuid': TemplateGuid, 'Guid': Guid, 'Answers': JsonConverters.toJson(Answers,'Map',context!) }); createResponse() => JsonPicklistItemsResponse(); getResponseTypeName() => "JsonPicklistItemsResponse"; getTypeName() => "GetJsonPicklistItems"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'buildmax.org', types: { 'JsonDto': TypeInfo(TypeOf.Class, create:() => JsonDto()), 'JsonPicklistItemsResponse': TypeInfo(TypeOf.Class, create:() => JsonPicklistItemsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'JsonPicklistItem': TypeInfo(TypeOf.Class, create:() => JsonPicklistItem()), 'GetJsonPicklistItems': TypeInfo(TypeOf.Class, create:() => GetJsonPicklistItems()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), });