QueryGrantsRequest constructor

QueryGrantsRequest({
  1. String? granter,
  2. String? grantee,
  3. String? msgTypeUrl,
  4. PageRequest? pagination,
})

Implementation

factory QueryGrantsRequest({
  $core.String? granter,
  $core.String? grantee,
  $core.String? msgTypeUrl,
  $6.PageRequest? pagination,
}) {
  final _result = create();
  if (granter != null) {
    _result.granter = granter;
  }
  if (grantee != null) {
    _result.grantee = grantee;
  }
  if (msgTypeUrl != null) {
    _result.msgTypeUrl = msgTypeUrl;
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}