/* Options: Date: 2024-05-08 07:12:51 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAccount.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class Account implements IConvertible { String? name; Account({this.name}); Account.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; return this; } Map toJson() => { 'name': name }; getTypeName() => "Account"; TypeContext? context = _ctx; } class GetAccount implements IReturn, IConvertible, IPost { String? account; GetAccount({this.account}); GetAccount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { account = json['account']; return this; } Map toJson() => { 'account': account }; createResponse() => Account(); getResponseTypeName() => "Account"; getTypeName() => "GetAccount"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'Account': TypeInfo(TypeOf.Class, create:() => Account()), 'GetAccount': TypeInfo(TypeOf.Class, create:() => GetAccount()), });