/* Options: Date: 2025-12-06 07:06:17 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateOrderOfMealTypeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class UpdateOrderOfMealTypeResponse implements IConvertible { bool? success; UpdateOrderOfMealTypeResponse({this.success}); UpdateOrderOfMealTypeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { success = json['success']; return this; } Map toJson() => { 'success': success }; getTypeName() => "UpdateOrderOfMealTypeResponse"; TypeContext? context = _ctx; } // @Route("/meal_type/update_order", "PUT") class UpdateOrderOfMealTypeRequest implements IReturn, IPut, IConvertible { List? slugs = []; UpdateOrderOfMealTypeRequest({this.slugs}); UpdateOrderOfMealTypeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slugs = JsonConverters.fromJson(json['slugs'],'List',context!); return this; } Map toJson() => { 'slugs': JsonConverters.toJson(slugs,'List',context!) }; createResponse() => UpdateOrderOfMealTypeResponse(); getResponseTypeName() => "UpdateOrderOfMealTypeResponse"; getTypeName() => "UpdateOrderOfMealTypeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'UpdateOrderOfMealTypeResponse': TypeInfo(TypeOf.Class, create:() => UpdateOrderOfMealTypeResponse()), 'UpdateOrderOfMealTypeRequest': TypeInfo(TypeOf.Class, create:() => UpdateOrderOfMealTypeRequest()), });