/* Options: Date: 2025-06-13 07:28:01 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: GetTermsAndConditionsRQ.* //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 ListDictionaryRS extends CoreRS implements IConvertible { List>? Data; ListDictionaryRS({this.Data}); ListDictionaryRS.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Data = JsonConverters.fromJson(json['Data'],'List>',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Data': JsonConverters.toJson(Data,'List>',context!) }); getTypeName() => "ListDictionaryRS"; TypeContext? context = _ctx; } // @Route("/citizen/gettermsandconditions") class GetTermsAndConditionsRQ implements IReturn, IConvertible { int? TermsType; GetTermsAndConditionsRQ({this.TermsType}); GetTermsAndConditionsRQ.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TermsType = json['TermsType']; return this; } Map toJson() => { 'TermsType': TermsType }; createResponse() => ListDictionaryRS(); getResponseTypeName() => "ListDictionaryRS"; getTypeName() => "GetTermsAndConditionsRQ"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ws.jimsnwa.com', types: { 'CoreRS': TypeInfo(TypeOf.Class, create:() => CoreRS()), 'ListDictionaryRS': TypeInfo(TypeOf.Class, create:() => ListDictionaryRS()), 'List>': TypeInfo(TypeOf.Class, create:() => >[]), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'GetTermsAndConditionsRQ': TypeInfo(TypeOf.Class, create:() => GetTermsAndConditionsRQ()), });