MatchmakerMatched constructor

MatchmakerMatched({
  1. String? ticket,
  2. String? matchId,
  3. String? token,
  4. Iterable<MatchmakerMatched_MatchmakerUser>? users,
  5. MatchmakerMatched_MatchmakerUser? self,
})

Implementation

factory MatchmakerMatched({
  $core.String? ticket,
  $core.String? matchId,
  $core.String? token,
  $core.Iterable<MatchmakerMatched_MatchmakerUser>? users,
  MatchmakerMatched_MatchmakerUser? self,
}) {
  final _result = create();
  if (ticket != null) {
    _result.ticket = ticket;
  }
  if (matchId != null) {
    _result.matchId = matchId;
  }
  if (token != null) {
    _result.token = token;
  }
  if (users != null) {
    _result.users.addAll(users);
  }
  if (self != null) {
    _result.self = self;
  }
  return _result;
}