ListUserGrantResponse constructor

ListUserGrantResponse({
  1. ListDetails? details,
  2. Iterable<UserGrant>? result,
})

Implementation

factory ListUserGrantResponse({
  $5.ListDetails? details,
  $core.Iterable<$9.UserGrant>? result,
}) {
  final _result = create();
  if (details != null) {
    _result.details = details;
  }
  if (result != null) {
    _result.result.addAll(result);
  }
  return _result;
}