toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'ChatInfo':
      return (this as ChatMessageQuoteMixin$Original$Node$ChatInfo).toJson();
    case r'ChatCall':
      return (this as ChatMessageQuoteMixin$Original$Node$ChatCall).toJson();
    case r'ChatMessage':
      return (this as ChatMessageQuoteMixin$Original$Node$ChatMessage)
          .toJson();
    case r'ChatForward':
      return (this as ChatMessageQuoteMixin$Original$Node$ChatForward)
          .toJson();
    default:
  }
  return _$ChatMessageQuoteMixin$Original$NodeToJson(this);
}