/* Options: Date: 2024-05-14 19:40:07 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://todoworld.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteTodo.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/todos/{Id}", "DELETE") // @DataContract class DeleteTodo implements IReturnVoid, IConvertible, IDelete { // @DataMember(Order=1) int? id; DeleteTodo({this.id}); DeleteTodo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() {} getTypeName() => "DeleteTodo"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'todoworld.servicestack.net', types: { 'DeleteTodo': TypeInfo(TypeOf.Class, create:() => DeleteTodo()), });