/* Options: Date: 2024-09-19 23:00:54 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://initiation-pen.sirva.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: Initiation.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/initiation", "POST, PUT") class Initiation implements IPost, IPut, IConvertible { Uint8List? RequestStream; Initiation({this.RequestStream}); Initiation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RequestStream = JsonConverters.fromJson(json['RequestStream'],'Uint8List',context!); return this; } Map toJson() => { 'RequestStream': JsonConverters.toJson(RequestStream,'Uint8List',context!) }; getTypeName() => "Initiation"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'initiation_pen.sirva.com', types: { 'Initiation': TypeInfo(TypeOf.Class, create:() => Initiation()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), });