ListParticipantsResponse constructor

ListParticipantsResponse({
  1. Iterable<Participant>? participants,
  2. String? nextPageToken,
})

Implementation

factory ListParticipantsResponse({
  $core.Iterable<Participant>? participants,
  $core.String? nextPageToken,
}) {
  final _result = create();
  if (participants != null) {
    _result.participants.addAll(participants);
  }
  if (nextPageToken != null) {
    _result.nextPageToken = nextPageToken;
  }
  return _result;
}