/* Options: Date: 2026-06-01 14:58:46 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.imglobal.com/RestApi //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FileUpload.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/translations/fileupload", "POST") class FileUpload implements IConvertible, IPost { Uint8List? RequestStream; String? FileName; String? Connector; FileUpload({this.RequestStream,this.FileName,this.Connector}); FileUpload.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RequestStream = JsonConverters.fromJson(json['RequestStream'],'Uint8List',context!); FileName = json['FileName']; Connector = json['Connector']; return this; } Map toJson() => { 'RequestStream': JsonConverters.toJson(RequestStream,'Uint8List',context!), 'FileName': FileName, 'Connector': Connector }; getTypeName() => "FileUpload"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.imglobal.com', types: { 'FileUpload': TypeInfo(TypeOf.Class, create:() => FileUpload()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), });