/* Options: Date: 2024-12-23 11:26:10 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FollowRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class FollowResponse implements IConvertible { bool? success; FollowResponse({this.success}); FollowResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { success = json['success']; return this; } Map toJson() => { 'success': success }; getTypeName() => "FollowResponse"; TypeContext? context = _ctx; } // @Route("/place/Follow", "POST") class FollowRequest implements IReturn, IPost, IConvertible { int? placeId; FollowRequest({this.placeId}); FollowRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeId = json['placeId']; return this; } Map toJson() => { 'placeId': placeId }; createResponse() => FollowResponse(); getResponseTypeName() => "FollowResponse"; getTypeName() => "FollowRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'FollowResponse': TypeInfo(TypeOf.Class, create:() => FollowResponse()), 'FollowRequest': TypeInfo(TypeOf.Class, create:() => FollowRequest()), });