/* Options: Date: 2026-11-08 11:52:28 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FormBuilderStateRq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IApiRequest { } class FormBuilderState implements IConvertible { String? abbreviation; int? stateId; String? fullName; int? countryId; FormBuilderState({this.abbreviation,this.stateId,this.fullName,this.countryId}); FormBuilderState.fromJson(Map json) { fromMap(json); } fromMap(Map json) { abbreviation = json['abbreviation']; stateId = json['stateId']; fullName = json['fullName']; countryId = json['countryId']; return this; } Map toJson() => { 'abbreviation': abbreviation, 'stateId': stateId, 'fullName': fullName, 'countryId': countryId }; getTypeName() => "FormBuilderState"; TypeContext? context = _ctx; } class FormBuilderStateRs implements IConvertible { List? states; FormBuilderStateRs({this.states}); FormBuilderStateRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { states = JsonConverters.fromJson(json['states'],'List',context!); return this; } Map toJson() => { 'states': JsonConverters.toJson(states,'List',context!) }; getTypeName() => "FormBuilderStateRs"; TypeContext? context = _ctx; } // @Route("/signup/api/formBuilder/states", "GET") class FormBuilderStateRq implements IReturn, IApiRequest, IConvertible { int? CountryId; FormBuilderStateRq({this.CountryId}); FormBuilderStateRq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CountryId = json['CountryId']; return this; } Map toJson() => { 'CountryId': CountryId }; createResponse() => FormBuilderStateRs(); getResponseTypeName() => "FormBuilderStateRs"; getTypeName() => "FormBuilderStateRq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'IApiRequest': TypeInfo(TypeOf.Interface), 'FormBuilderState': TypeInfo(TypeOf.Class, create:() => FormBuilderState()), 'FormBuilderStateRs': TypeInfo(TypeOf.Class, create:() => FormBuilderStateRs()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormBuilderStateRq': TypeInfo(TypeOf.Class, create:() => FormBuilderStateRq()), });