In badminton match, what method does the referee use to decide who will serve first?

One way is for the referee to throw a badminton vertically to see which side the bearer leans; Another way is to flip a coin and see which side faces up at last.

Either way, the winner can choose to serve first or choose the court, and the other side can only accept another condition.

I hope you are satisfied with my answer.