The post gives the solution to programmatically set store configuration value in InstallSchema Magento 2.
For instance, you are involving a Magento 2 expansion in your store and need to change the default Magento 2 field values while expansion establishment. The beneath code is the answer for something very similar.
Changing the default field values in Magento 2 while expansion establishment turns out to be simple with this strategy. You can likewise carry out this physically from the administrator board by signing in and explore to Stores > Arrangement.
For more info, visit : https://meetanshi.com/blog/set-store-configuration-value-in-installschema-in-magento-2/