/* Options: Date: 2024-04-28 23:00:56 Version: 8.13 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UserAvatar.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/users/{UserId}/avatar", "GET") class UserAvatar implements IGet, IConvertible { int? userId; UserAvatar({this.userId}); UserAvatar.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userId = json['userId']; return this; } Map toJson() => { 'userId': userId }; getTypeName() => "UserAvatar"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'UserAvatar': TypeInfo(TypeOf.Class, create:() => UserAvatar()), });