/* Options: Date: 2024-05-18 11:18:53 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sharpscript.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ViewCustomer.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/customers/{Id}") class ViewCustomer implements IConvertible, IPost { String? id; ViewCustomer({this.id}); ViewCustomer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; getTypeName() => "ViewCustomer"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sharpscript.net', types: { 'ViewCustomer': TypeInfo(TypeOf.Class, create:() => ViewCustomer()), });