/* Options: Date: 2026-05-08 17:21:31 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://tanchinhdo-api-sandbox.adnx.vn //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetSliderRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BaseResponse implements IResponseRequest, IConvertible { int? code; String? message; Slider? data; BaseResponse({this.code,this.message,this.data}); BaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { code = json['code']; message = json['message']; data = JsonConverters.fromJson(json['data'],'Slider',context!); return this; } Map toJson() => { 'code': code, 'message': message, 'data': JsonConverters.toJson(data,'Slider',context!) }; getTypeName() => "BaseResponse<$Slider>"; TypeContext? context = _ctx; } // @Route("/slider", "GET") class GetSliderRequest implements IReturn>, IConvertible, IGet { String? type; GetSliderRequest({this.type}); GetSliderRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { type = json['type']; return this; } Map toJson() => { 'type': type }; createResponse() => BaseResponse(); getResponseTypeName() => "BaseResponse"; getTypeName() => "GetSliderRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'tanchinhdo_api_sandbox.adnx.vn', types: { 'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()), 'Slider': TypeInfo(TypeOf.Class, create:() => Slider()), 'GetSliderRequest': TypeInfo(TypeOf.Class, create:() => GetSliderRequest()), });