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