/* Options: Date: 2025-12-06 07:08:29 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: EditTakeAwayRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class EditTakeAwayResponse implements IConvertible { bool? success; EditTakeAwayResponse({this.success}); EditTakeAwayResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { success = json['success']; return this; } Map toJson() => { 'success': success }; getTypeName() => "EditTakeAwayResponse"; TypeContext? context = _ctx; } // @Route("/take_away/edit", "PUT") class EditTakeAwayRequest implements IReturn, IPut, IConvertible { String? label; String? slug; EditTakeAwayRequest({this.label,this.slug}); EditTakeAwayRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; createResponse() => EditTakeAwayResponse(); getResponseTypeName() => "EditTakeAwayResponse"; getTypeName() => "EditTakeAwayRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'EditTakeAwayResponse': TypeInfo(TypeOf.Class, create:() => EditTakeAwayResponse()), 'EditTakeAwayRequest': TypeInfo(TypeOf.Class, create:() => EditTakeAwayRequest()), });