/* Options: Date: 2026-09-02 15:39:57 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ThrowCustom400.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/throwcustom400") // @Route("/throwcustom400/{Message}") class ThrowCustom400 implements IConvertible, IPost { String message = ""; ThrowCustom400({this.message=""}); ThrowCustom400.fromJson(Map json) { fromMap(json); } fromMap(Map json) { message = json['message'] ?? ""; return this; } Map toJson() => { 'message': message }; getTypeName() => "ThrowCustom400"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'ThrowCustom400': TypeInfo(TypeOf.Class, create:() => ThrowCustom400()), });