QueryGranterGrantsResponse constructor

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

Implementation

factory QueryGranterGrantsResponse({
  $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;
}