/* Options: Date: 2024-11-21 22:01:02 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: EvaluateLinq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/linq/eval") class EvaluateLinq implements IReturn, IConvertible, IPost { String? code; String? lang; Map? files; EvaluateLinq({this.code,this.lang,this.files}); EvaluateLinq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { code = json['code']; lang = json['lang']; files = JsonConverters.toStringMap(json['files']); return this; } Map toJson() => { 'code': code, 'lang': lang, 'files': files }; createResponse() => ""; getResponseTypeName() => "String"; getTypeName() => "EvaluateLinq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sharpscript.net', types: { 'EvaluateLinq': TypeInfo(TypeOf.Class, create:() => EvaluateLinq()), });