Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'messageForumTopicCreated', if (extra != null) '@extra': extra, 'name': name, 'icon': icon }; }