/* Options: Date: 2024-05-10 05:53:49 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: HelloImage.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/hello-image/{Name}") class HelloImage implements IReturn, IConvertible, IGet { String? name; String? format; int? width; int? height; int? fontSize; String? fontFamily; String? foreground; String? background; HelloImage({this.name,this.format,this.width,this.height,this.fontSize,this.fontFamily,this.foreground,this.background}); HelloImage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; format = json['format']; width = json['width']; height = json['height']; fontSize = json['fontSize']; fontFamily = json['fontFamily']; foreground = json['foreground']; background = json['background']; return this; } Map toJson() => { 'name': name, 'format': format, 'width': width, 'height': height, 'fontSize': fontSize, 'fontFamily': fontFamily, 'foreground': foreground, 'background': background }; createResponse() => Uint8List(0); getResponseTypeName() => "Uint8List"; getTypeName() => "HelloImage"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'HelloImage': TypeInfo(TypeOf.Class, create:() => HelloImage()), });