/* Options: Date: 2025-06-13 08:53:04 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://ws.jimsnwa.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: IsCitizenBannedRQ.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class CoreRS implements IConvertible { String? Code; String? ErrorMessage; String? ErrorStackTrace; CoreRS({this.Code,this.ErrorMessage,this.ErrorStackTrace}); CoreRS.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Code = json['Code']; ErrorMessage = json['ErrorMessage']; ErrorStackTrace = json['ErrorStackTrace']; return this; } Map toJson() => { 'Code': Code, 'ErrorMessage': ErrorMessage, 'ErrorStackTrace': ErrorStackTrace }; getTypeName() => "CoreRS"; TypeContext? context = _ctx; } class IsCitizenBannedRS extends CoreRS implements IConvertible { bool? Data; IsCitizenBannedRS({this.Data}); IsCitizenBannedRS.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Data = json['Data']; return this; } Map toJson() => super.toJson()..addAll({ 'Data': Data }); getTypeName() => "IsCitizenBannedRS"; TypeContext? context = _ctx; } // @Route("/citizen/isbanned") class IsCitizenBannedRQ implements IReturn, IConvertible { String? Email; IsCitizenBannedRQ({this.Email}); IsCitizenBannedRQ.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Email = json['Email']; return this; } Map toJson() => { 'Email': Email }; createResponse() => IsCitizenBannedRS(); getResponseTypeName() => "IsCitizenBannedRS"; getTypeName() => "IsCitizenBannedRQ"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ws.jimsnwa.com', types: { 'CoreRS': TypeInfo(TypeOf.Class, create:() => CoreRS()), 'IsCitizenBannedRS': TypeInfo(TypeOf.Class, create:() => IsCitizenBannedRS()), 'IsCitizenBannedRQ': TypeInfo(TypeOf.Class, create:() => IsCitizenBannedRQ()), });