Match constructor
Match({
- String? matchId,
- bool? authoritative,
- StringValue? label,
- int? size,
- Iterable<
UserPresence> ? presences, - UserPresence? self,
Implementation
factory Match({
$core.String? matchId,
$core.bool? authoritative,
$1.StringValue? label,
$core.int? size,
$core.Iterable<UserPresence>? presences,
UserPresence? self,
}) {
final _result = create();
if (matchId != null) {
_result.matchId = matchId;
}
if (authoritative != null) {
_result.authoritative = authoritative;
}
if (label != null) {
_result.label = label;
}
if (size != null) {
_result.size = size;
}
if (presences != null) {
_result.presences.addAll(presences);
}
if (self != null) {
_result.self = self;
}
return _result;
}