Match constructor
Match({})
Implementation
factory Match({
$core.String? matchId,
$core.String? matchProfile,
$core.String? matchFunction,
$core.Iterable<Ticket>? tickets,
$core.Map<$core.String, $8.Any>? extensions,
Backfill? backfill,
$core.bool? allocateGameserver,
}) {
final _result = create();
if (matchId != null) {
_result.matchId = matchId;
}
if (matchProfile != null) {
_result.matchProfile = matchProfile;
}
if (matchFunction != null) {
_result.matchFunction = matchFunction;
}
if (tickets != null) {
_result.tickets.addAll(tickets);
}
if (extensions != null) {
_result.extensions.addAll(extensions);
}
if (backfill != null) {
_result.backfill = backfill;
}
if (allocateGameserver != null) {
_result.allocateGameserver = allocateGameserver;
}
return _result;
}