Matchmaking Does Not Work when I Define A Query Parameter (Flutter Code)

Please note that the Flutter code below does not match players:

final ticket = await socket.addMatchmaker(
        minCount: 2,
        maxCount: 2,
        query: "+betAmount:$betAmount", // Filter by bet amount
        stringProperties: {
          'game': 'crazy_eights',
          'betAmount': betAmount.toString(),
        },
      );

However, if I remove the line where the query parameter is defined, it works. Please help, I am trying to match players according to their bet sizes.

How can I match players using the query? Please see my reference linked here: Query Syntax - Heroic Labs Documentation

@Sakhile_Mamba to match properties you need to prefix the key with properties., have a look at the examples in: Matchmaker - Heroic Labs Documentation.

Best.

Thank you for the help. I have figured this out.