MatchJoin constructor

MatchJoin({
  1. String? matchId,
  2. String? token,
  3. Map<String, String>? metadata,
})

Implementation

factory MatchJoin({
  $core.String? matchId,
  $core.String? token,
  $core.Map<$core.String, $core.String>? metadata,
}) {
  final _result = create();
  if (matchId != null) {
    _result.matchId = matchId;
  }
  if (token != null) {
    _result.token = token;
  }
  if (metadata != null) {
    _result.metadata.addAll(metadata);
  }
  return _result;
}