Set Default Value for Package

Permalink
I am working on a theme that has a back-end configuration area. I need to get it so that a default value is displayed. Below is the code I have in the controller. How do assign a default value to this?

public function view(){
   $pkg = Package::getByHandle('theme_handle');
   $this->set('dtheme', $pkg->config('dtheme')); //variable that needs a default value
}


Any help is appreciated.

PineCreativeLabs