GroupList constructor

GroupList({
  1. Iterable<Group>? groups,
  2. String? cursor,
})

Implementation

factory GroupList({
  $core.Iterable<Group>? groups,
  $core.String? cursor,
}) {
  final _result = create();
  if (groups != null) {
    _result.groups.addAll(groups);
  }
  if (cursor != null) {
    _result.cursor = cursor;
  }
  return _result;
}