toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  replyType = ReplyType.all;
  includeThreadInfo = true;

  final json = super.toJson();
  json.addAll(_$ThreadedMessageListParamsToJson(this));
  json.removeWhere((key, value) => value == null);
  return json;
}