/* Options: Date: 2025-11-09 11:14:23 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.api.bettor.cc //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetConfiguredRTP.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RTPResponse implements IConvertible { double? totalRTP; double? mainGame; double? superWin; double? globalCodePot; double? localCodePot; RTPResponse({this.totalRTP,this.mainGame,this.superWin,this.globalCodePot,this.localCodePot}); RTPResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { totalRTP = JsonConverters.toDouble(json['totalRTP']); mainGame = JsonConverters.toDouble(json['mainGame']); superWin = JsonConverters.toDouble(json['superWin']); globalCodePot = JsonConverters.toDouble(json['globalCodePot']); localCodePot = JsonConverters.toDouble(json['localCodePot']); return this; } Map toJson() => { 'totalRTP': totalRTP, 'mainGame': mainGame, 'superWin': superWin, 'globalCodePot': globalCodePot, 'localCodePot': localCodePot }; getTypeName() => "RTPResponse"; TypeContext? context = _ctx; } // @Route("/qry/rtp/configured") class GetConfiguredRTP implements IReturn, IConvertible, IPost { GetConfiguredRTP(); GetConfiguredRTP.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => RTPResponse(); getResponseTypeName() => "RTPResponse"; getTypeName() => "GetConfiguredRTP"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 's4w2.api.bettor.cc', types: { 'RTPResponse': TypeInfo(TypeOf.Class, create:() => RTPResponse()), 'GetConfiguredRTP': TypeInfo(TypeOf.Class, create:() => GetConfiguredRTP()), });