QueryGranteeGrantsResponse constructor

QueryGranteeGrantsResponse({
  1. Iterable<GrantAuthorization>? grants,
  2. PageResponse? pagination,
})

Implementation

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