QueryAccountsResponse constructor

QueryAccountsResponse({
  1. Iterable<Any>? accounts,
  2. PageResponse? pagination,
})

Implementation

factory QueryAccountsResponse({
  $core.Iterable<$1.Any>? accounts,
  $3.PageResponse? pagination,
}) {
  final _result = create();
  if (accounts != null) {
    _result.accounts.addAll(accounts);
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}