/* Options: Date: 2024-05-13 22:33:46 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ThrowHttpError.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; // @Route("/throwhttperror/{Status}") class ThrowHttpError implements IConvertible, IPost { int? status; String? message; ThrowHttpError({this.status,this.message}); ThrowHttpError.fromJson(Map json) { fromMap(json); } fromMap(Map json) { status = json['status']; message = json['message']; return this; } Map toJson() => { 'status': status, 'message': message }; getTypeName() => "ThrowHttpError"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'ThrowHttpError': TypeInfo(TypeOf.Class, create:() => ThrowHttpError()), });