AdminUserResponse constructor

AdminUserResponse({
  1. User? user,
  2. Iterable<User>? users,
})

Implementation

factory AdminUserResponse({
  User? user,
  $core.Iterable<User>? users,
}) {
  final _result = create();
  if (user != null) {
    _result.user = user;
  }
  if (users != null) {
    _result.users.addAll(users);
  }
  return _result;
}