addLottery

suspend fun addLottery(lottery: Lottery)

Adds a new lottery to the Firestore database.

Parameters

lottery

The lottery to add.