Match constructor

Match({
  1. String? matchId,
  2. bool? authoritative,
  3. StringValue? label,
  4. int? size,
  5. int? tickRate,
  6. String? handlerName,
})

Implementation

factory Match({
  $core.String? matchId,
  $core.bool? authoritative,
  $1.StringValue? label,
  $core.int? size,
  $core.int? tickRate,
  $core.String? handlerName,
}) {
  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 (tickRate != null) {
    _result.tickRate = tickRate;
  }
  if (handlerName != null) {
    _result.handlerName = handlerName;
  }
  return _result;
}