/* Options: Date: 2025-12-06 07:08:30 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: GetAllCuisineRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class BackofficeCuisineDto implements IConvertible { String? label; String? slug; BackofficeCuisineDto({this.label,this.slug}); BackofficeCuisineDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'label': label, 'slug': slug }; getTypeName() => "BackofficeCuisineDto"; TypeContext? context = _ctx; } class GetAllCuisineResponse implements IConvertible { List? cuisine = []; GetAllCuisineResponse({this.cuisine}); GetAllCuisineResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { cuisine = JsonConverters.fromJson(json['cuisine'],'List',context!); return this; } Map toJson() => { 'cuisine': JsonConverters.toJson(cuisine,'List',context!) }; getTypeName() => "GetAllCuisineResponse"; TypeContext? context = _ctx; } // @Route("/cuisine/get_all", "GET") class GetAllCuisineRequest implements IReturn, IGet, IConvertible { GetAllCuisineRequest(); GetAllCuisineRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetAllCuisineResponse(); getResponseTypeName() => "GetAllCuisineResponse"; getTypeName() => "GetAllCuisineRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'BackofficeCuisineDto': TypeInfo(TypeOf.Class, create:() => BackofficeCuisineDto()), 'GetAllCuisineResponse': TypeInfo(TypeOf.Class, create:() => GetAllCuisineResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAllCuisineRequest': TypeInfo(TypeOf.Class, create:() => GetAllCuisineRequest()), });