PublicUserResponse constructor

PublicUserResponse({
  1. User? user,
})

Implementation

factory PublicUserResponse({
  User? user,
}) {
  final _result = create();
  if (user != null) {
    _result.user = user;
  }
  return _result;
}