toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'chat_id': chatId,
'topic_id': topicId?.toJson(),
'filter': filter.toJson(),
'return_local': returnLocal,
'@type': constructor,
};