addSpecificSetting method

void addSpecificSetting({
  1. required void function(),
  2. required String name,
})

Implementation

void addSpecificSetting(
    {required void Function() function, required String name}) {
  _specificSettings[name] = () {
    function();
    update();
  };
}