/* Options: Date: 2024-11-21 22:52:20 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sharpscript.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetGithubRepos.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/github/{UserName}") class GetGithubRepos implements IReturn>, IConvertible, IPost { String? userName; GetGithubRepos({this.userName}); GetGithubRepos.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userName = json['userName']; return this; } Map toJson() => { 'userName': userName }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "GetGithubRepos"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sharpscript.net', types: { 'GetGithubRepos': TypeInfo(TypeOf.Class, create:() => GetGithubRepos()), });