/* Options: Date: 2024-05-09 07:00:40 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: ImageAsCustomResult.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/image-custom") class ImageAsCustomResult implements IReturn, IConvertible, IPost { String? format; ImageAsCustomResult({this.format}); ImageAsCustomResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { format = json['format']; return this; } Map toJson() => { 'format': format }; createResponse() => Uint8List(0); getResponseTypeName() => "Uint8List"; getTypeName() => "ImageAsCustomResult"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'ImageAsCustomResult': TypeInfo(TypeOf.Class, create:() => ImageAsCustomResult()), });