listMatches abstract method
Listing matches
Match Listing takes a number of criteria to filter matches by including player count, a match label and an option to provide a more complex search query.
Matches start in a lobby state. The match exists on the server but the actual gameplay doesn’t start until enough players have joined.
Implementation
Future<List<model.Match>> listMatches({
required model.Session session,
bool? authoritative,
String? label,
int limit = defaultLimit,
int? maxSize,
int? minSize,
String? query,
});