UserGroupList constructor

UserGroupList({
  1. Iterable<UserGroupList_UserGroup>? userGroups,
  2. String? cursor,
})

Implementation

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