/* Options: Date: 2024-11-21 20:39:40 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sharpscript.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EvaluateScripts.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/pages/eval") class EvaluateScripts implements IReturn, IConvertible, IPost { Map? files; Map? args; String? page; EvaluateScripts({this.files,this.args,this.page}); EvaluateScripts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { files = JsonConverters.toStringMap(json['files']); args = JsonConverters.toStringMap(json['args']); page = json['page']; return this; } Map toJson() => { 'files': files, 'args': args, 'page': page }; createResponse() => ""; getResponseTypeName() => "String"; getTypeName() => "EvaluateScripts"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sharpscript.net', types: { 'EvaluateScripts': TypeInfo(TypeOf.Class, create:() => EvaluateScripts()), });