/* Options: Date: 2024-05-09 20:30:10 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SendGet.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class SendVerbResponse implements IConvertible { int? id; String? pathInfo; String? requestMethod; SendVerbResponse({this.id,this.pathInfo,this.requestMethod}); SendVerbResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; pathInfo = json['pathInfo']; requestMethod = json['requestMethod']; return this; } Map toJson() => { 'id': id, 'pathInfo': pathInfo, 'requestMethod': requestMethod }; getTypeName() => "SendVerbResponse"; TypeContext? context = _ctx; } class SendGet implements IReturn, IGet, IConvertible { int? id; SendGet({this.id}); SendGet.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => SendVerbResponse(); getResponseTypeName() => "SendVerbResponse"; getTypeName() => "SendGet"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'SendVerbResponse': TypeInfo(TypeOf.Class, create:() => SendVerbResponse()), 'SendGet': TypeInfo(TypeOf.Class, create:() => SendGet()), });