QueryWhereIsByCreatorResponse constructor Null safety

QueryWhereIsByCreatorResponse(
  1. {int? code,
  2. Iterable<WhereIs>? whereIs,
  3. PageResponse? pagination}
)

Implementation

factory QueryWhereIsByCreatorResponse({
  $core.int? code,
  $core.Iterable<$0.WhereIs>? whereIs,
  $2.PageResponse? pagination,
}) {
  final _result = create();
  if (code != null) {
    _result.code = code;
  }
  if (whereIs != null) {
    _result.whereIs.addAll(whereIs);
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}