/* Options: Date: 2025-09-08 02:28:21 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://account.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: Cached.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class CachedResponse implements IConvertible { String? result; int? counter; CachedResponse({this.result,this.counter}); CachedResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { result = json['result']; counter = json['counter']; return this; } Map toJson() => { 'result': result, 'counter': counter }; getTypeName() => "CachedResponse"; TypeContext? context = _ctx; } // @Route("/Cached") // @Route("/Cached/{Id}") class Cached implements IReturn, IConvertible, IPost { String? id; Cached({this.id}); Cached.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => CachedResponse(); getResponseTypeName() => "CachedResponse"; getTypeName() => "Cached"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'account.servicestack.net', types: { 'CachedResponse': TypeInfo(TypeOf.Class, create:() => CachedResponse()), 'Cached': TypeInfo(TypeOf.Class, create:() => Cached()), });