MatchList constructor

MatchList({
  1. Iterable<Match>? matches,
})

Implementation

factory MatchList({
  $core.Iterable<Match>? matches,
}) {
  final _result = create();
  if (matches != null) {
    _result.matches.addAll(matches);
  }
  return _result;
}