/* Options: Date: 2024-05-17 07:52:20 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PostRawToChannel.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; // @Route("/channels/{Channel}/raw") class PostRawToChannel implements IReturnVoid, IConvertible, IPost { String? from; String? toUserId; String? channel; String? message; String? selector; PostRawToChannel({this.from,this.toUserId,this.channel,this.message,this.selector}); PostRawToChannel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { from = json['from']; toUserId = json['toUserId']; channel = json['channel']; message = json['message']; selector = json['selector']; return this; } Map toJson() => { 'from': from, 'toUserId': toUserId, 'channel': channel, 'message': message, 'selector': selector }; createResponse() {} getTypeName() => "PostRawToChannel"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'PostRawToChannel': TypeInfo(TypeOf.Class, create:() => PostRawToChannel()), });