QueryGrantsResponse constructor
QueryGrantsResponse({
- Iterable<
Grant> ? grants, - PageResponse? pagination,
Implementation
factory QueryGrantsResponse({
$core.Iterable<$5.Grant>? grants,
$6.PageResponse? pagination,
}) {
final _result = create();
if (grants != null) {
_result.grants.addAll(grants);
}
if (pagination != null) {
_result.pagination = pagination;
}
return _result;
}