/* Options: Date: 2024-11-27 04:28:19 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://grpc.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetLanguages.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @DataContract class GetLanguagesResponse implements IConvertible { // @DataMember List>? results; GetLanguagesResponse({this.results}); GetLanguagesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { results = JsonConverters.fromJson(json['results'],'List>',context!); return this; } Map toJson() => { 'results': JsonConverters.toJson(results,'List>',context!) }; getTypeName() => "GetLanguagesResponse"; TypeContext? context = _ctx; } // @Route("/langs", "GET") // @DataContract class GetLanguages implements IReturn, IConvertible, IGet { GetLanguages(); GetLanguages.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetLanguagesResponse(); getResponseTypeName() => "GetLanguagesResponse"; getTypeName() => "GetLanguages"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'grpc.servicestack.net', types: { 'GetLanguagesResponse': TypeInfo(TypeOf.Class, create:() => GetLanguagesResponse()), 'List>': TypeInfo(TypeOf.Class, create:() => >[]), 'GetLanguages': TypeInfo(TypeOf.Class, create:() => GetLanguages()), });