/* Options: Date: 2024-05-17 01:47:49 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: ThrowCustom400.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; // @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()), });