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