/* Options: Date: 2025-05-05 01:19:51 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HealthCheckDb.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class HealthStatus implements IConvertible { String? message; HealthStatus({this.message}); HealthStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { message = json['message']; return this; } Map toJson() => { 'message': message }; getTypeName() => "HealthStatus"; TypeContext? context = _ctx; } // @Route("/health/db", "GET") class HealthCheckDb implements IReturn, IConvertible, IGet { String? token; HealthCheckDb({this.token}); HealthCheckDb.fromJson(Map json) { fromMap(json); } fromMap(Map json) { token = json['token']; return this; } Map toJson() => { 'token': token }; createResponse() => HealthStatus(); getResponseTypeName() => "HealthStatus"; getTypeName() => "HealthCheckDb"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'HealthStatus': TypeInfo(TypeOf.Class, create:() => HealthStatus()), 'HealthCheckDb': TypeInfo(TypeOf.Class, create:() => HealthCheckDb()), });